sim_to_phylo: Convert 'comrad' simulation results into a phylogeny

View source: R/sim_to_phylo.R

sim_to_phyloR Documentation

Convert comrad simulation results into a phylogeny

Description

Reads a table of results and returns a phylo class object.

Usage

sim_to_phylo(comrad_tbl, include_stem = TRUE, with_extinct = TRUE)

Arguments

comrad_tbl

a tibble containing the output of a comrad simulation, as produced by run_simulation() or read by read_comrad_tbl().

include_stem

logical, should the stem lineage and stem age be included? If not, the string stops at crown lineages.

with_extinct

logical, should extinct taxa be included? TRUE returns the full tree, FALSE returns the reconstructed tree.

Author(s)

Théo Pannetier


TheoPannetier/comrad documentation built on April 8, 2023, 8:06 a.m.