phylo.toBackbone: Converts tree to backbone or vice versa

Description Usage Arguments Value Author(s) References See Also

View source: R/backbonePhylo.R

Description

Converts between "phylo" and "backbonePhylo".

Usage

1
2

Arguments

x

an object of class "phylo" (for phylo.toBackbone); or an object of class "backbonePhylo" (for backbone.toPhylo).

trans

data frame containing the attributes necessary to translate a backbone tree to an object of class "backbonePhylo". The data frame should contain the following variables: tip.label: the tip labels in the input tree (not all need be included); clade.label: labels for the unobserved subtrees; N: number of species in each subtree; and depth: desired depth of each subtree. depth for each terminal taxon in x cannot be greater than the terminal edge length for that taxon.

...

optional arguments.

Value

Either an object of class "phylo" or an object of class "backbonePhylo", depending on the method.

Author(s)

Liam Revell [email protected]

References

Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.

See Also

plot.backbonePhylo


liamrevell/phytools documentation built on Sept. 30, 2018, 1:41 a.m.