make.clade.tree: Make a "Clade Tree"

Description Usage Arguments Details Note Author(s)

View source: R/clade-tree.R

Description

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.

Usage

1
2
3

Arguments

tree

An ultrametric phylogenetic tree, in ape “phylo” format.

clades

A list, where the name of each element represents a tip in tree and each element is a character vector containing the names of species contained within that clade.

class

A vector along tree$tip.label, indicating the class to which each tip belongs.

check

Logical, indicating whether a (potentially slow) check will be done to ensure that all resulting clades are reciprocally monophyletic within the tree.

Details

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.

Note

Currently, clade.tree objects work poorly with some ape functions.

Author(s)

Richard G. FitzJohn



diversitree documentation built on May 19, 2017, 2:37 p.m.
Search within the diversitree package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.