View source: R/makePhyloTree.R
makePhyloTree | R Documentation |
This function is called by getLabGenealogy
to turn an edge list and corresponding lengths and root node number into a tree of class phylo
makePhyloTree(Edges, Lengths, Root)
Edges |
a two-column matrix representing the edges of a tree. (It corresponds to the $edge entry of a |
Lengths |
a numeric vector of the same length as the columns of |
Root |
the number of the internal node which is to be the root (usually the number of tips + 1) |
An object of class phylo
. When called by getLabGenealogy
this represents the genealogical transmission tree from infectors to infectees.
Caroline Colijn c.colijn@imperial.ac.uk
Michelle Kendall michelle.louise.kendall@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.