Learn R Programming

phytools (version 0.0-8)

drop.tip.simmap: Drop tip from SIMMAP format tree

Description

This function drops a tip from the modified "phylo" object with a mapped binary or multistate trait (see read.simmap) while maintaining the matrix $mapped.edge.

Usage

drop.tip.simmap(tree,tip)

Arguments

tree
a phylogenetic tree in modified "phylo" format (see read.simmap).
tip
name of species to be dropped.

Value

  • a modified "phylo" object containing the element $mapped.edge with the time spent in each state along each edge of the tree.

Details

Note that this function does not, as yet, modify the element maps; only mapped.edge.

See Also

brownie.lite, drop.tip, evol.vcv, read.simmap