View source: R/summaryStatistics.R
| fillNodesPart | R Documentation |
Fill the "part" column of the node dataframe with corresponding phylogeny part. The phylogeny is cut in 3 equals regarding time. Let's be D>0 the phylogeny height (maximal distance to the root), then nodes with distance to the root d such that:
d<D/3 belongs to part 1;
D/3<d<2D/3 belongs to part 2;
d>2D/3 belongs to part 3. For more detail, see Saulnier et al., 2014, PLOS.
fillNodesPart(df.nodes, phylo)
df.nodes |
dataframe created by |
phylo |
phylogeny (ape format) |
dataframe
createNodesDf,
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.