pir_run | R Documentation |
From a phylogeny of (un)known speciation model,
an alignment is created using a known site model and clock model,
as given by alignment_params
.
pir_run(
phylogeny,
pir_params = create_pir_params(alignment_params = create_alignment_params(),
twinning_params = create_twinning_params())
)
phylogeny |
a phylogeny of class phylo |
pir_params |
the parameters of pirouette. They are created by create_pir_params. |
a data frame with errors, with as many rows as model selection parameter sets. The output can be checked using check_pir_out.
Richèl J.C. Bilderbeek, Giovanni Laudanno
Use pir_plot to display the output of pir_run as a figure.
Use create_test_pir_run_output to create a test output of pir_run.
Use pir_runs to do multiple pirouette runs.
if (beautier::is_on_ci()) {
phylogeny <- ape::read.tree(text = "(((A:1, B:1):1, C:2):1, D:3);")
pir_params <- create_test_pir_params()
errors <- NA
if (
rappdirs::app_dir()$os != "win" &&
beastier::is_beast2_installed()
) {
pir_run(
phylogeny = phylogeny,
pir_params = pir_params
)
} else {
create_test_pir_run_output()
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.