View source: R/simulatePhylogenies.R
| simulatePhyloBiSSE | R Documentation |
Generate a list of phylogenies under the Binary State Speciation and Extinction
(BiSSE) model. Can check and save summary statistics of each phylogeny by
activating sumstat_check. Moreover true parameters of each phylogeny are also
returned.
simulatePhyloBiSSE( n.phylo, tips.lim, params.lim, sumstat_check = T, verbose = F )
n.phylo |
number of phylogenies to simulate |
tips.lim |
phylogeny size range |
params.lim |
parameter ranges |
sumstat_check |
whether to check that summary statistics can be computed for each phylogeny and save them (logical) |
verbose |
whether to print progress (logical) |
list
$phylo: list of simulated phylogenies (ape format)
$params: dataframe of phylogeny parameters
$sumstat: dataframe of phylogeny summary statistics
(empty if ss_check = FALSE)
simulatePhyloCRBD
simulatePhyloBiSSE(10, c(50, 100), list(lambda0 = c(0.1, 1.0), q = c(0, 0.1)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.