nltt_plot | R Documentation |
This function uses a modified version of the ltt.plot function
from "ape"
to plot the normalized number of lineages
through normalized time, where the number of lineages is normalized
by dividing by the number of tips of the tree,
and the time is normalized by the total time between
the most common recent ancestor and the present,
such that t(MRCA) = 0 & t(present) = 1.
nltt_plot(
phy, xlab = "Normalized Time", ylab = "Normalized Lineages", ...)
phy |
an object of class |
xlab |
a character string (or a variable of mode character)
giving the label for the |
ylab |
a character string (or a variable of mode character)
giving the label for the |
... |
further graphical arguments that can be passed to |
Thijs Janzen
data(exampleTrees)
nltt_plot(exampleTrees[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.