Skip to contents

Computes a majority consensus migration history for a sample of structured phylogenies on the same underlying phylogeny

Usage

exact_consensus(strphylo_list, consensus_prob = 0.5, plot = TRUE, ...)

Arguments

strphylo_list

Sample of migration histories for the same dated phylogeny

consensus_prob

Consensus probability (must be greater than 0.5 to guarantee unique consensus history)

plot

Logical value whether to output plot of consensus migration history

...

Additional arguments to pass to plot

Value

Consensus migration history in ED format