View source: R/get_norm_brts.R
get_norm_brts | R Documentation |
Collect the normalized branching times from the stem age
get_norm_brts(phylogeny)
phylogeny |
a phylogeny of class 'phylo' |
branching times, in time units before the present
Richèl Bilderbeek
phylogeny <- ape::read.tree(text = "((a:2,b:2):1,c:3);")
phylogeny$root.edge <- 2 # nolint ape variable name
all(nLTT::get_branching_times(phylogeny) == c(5, 3, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.