View source: R/write_newick_str.R
write_newick_str | R Documentation |
Reads a tibble recording species birth, death and phylogenetic relations,
figures out the branch lengths and return a phylogenetic tree in Newick
format. Based on DDD::L2phylo()
.
write_newick_str(spp_tbl, include_stem = TRUE)
spp_tbl |
a table with phylogenetic information for each species, the
output of |
include_stem |
logical, should the stem lineage and stem age be included? If not, the string stops at crown lineages. |
Théo Pannetier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.