sample_tree: Sample a phylo tree

Description Usage Arguments Value Examples

View source: R/coalsieve.R

Description

Sample a phylo tree

Usage

1

Arguments

gene

a list containing

Value

a phylo tree consisent with 'gene'.

Examples

1
2
3
gene = coalsim(samp_times = c(0,1,2), n_sampled = c(2,1,1), traj = unif_traj)
tree = sample_tree(gene)
plot(tree)

mdkarcher/phylodyn documentation built on Nov. 24, 2021, 12:20 a.m.