TopologyOnly {TreeTools} | R Documentation |
Remove metadata from trees
Description
TopologyOnly()
removes all information from trees except for their
topologies and leaf labels. This allows other functions to process
trees more rapidly, as they do not need to process unneeded metadata.
Usage
TopologyOnly(tree)
Arguments
tree |
A tree of class |
Value
Returns tree
, with each tree in Preorder
, with edge lengths,
node labels and other attributes removed.
Author(s)
Martin R. Smith (martin.smith@durham.ac.uk)
[Package TreeTools version 1.12.0 Index]