| make.clade.tree | R Documentation |
This function makes a “clade tree”, where tips
represent clades. It is designed to make working with unresolved
clade information in make.bisse more straightforward.
clade.tree objects have their own plotting methods.
make.clade.tree(tree, clades)
clades.from.polytomies(tree)
clades.from.classification(tree, class, check=TRUE)
tree |
An ultrametric phylogenetic tree, in |
clades |
A list, where the name of each element represents a tip
in |
class |
A vector along |
check |
Logical, indicating whether a (potentially slow) check will be done to ensure that all resulting clades are reciprocally monophyletic within the tree. |
The idea here is that make.bisse takes a tree and a named
character state vector. If the phylogenetic tree contains information
about the membership of clades, then the unresolved clade information
can be constructed automatically. The names chosen should therefore
reflect the names used in the state information.
Currently, clade.tree objects work poorly with some ape
functions.
Richard G. FitzJohn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.