minTL: Get or set minimum tip lengths

Description Usage Arguments Details Value Note Author(s) Examples

View source: R/utilities.R

Description

Functions to get or set species minimum tip lengths (minTL) for a phylogeny.

Usage

1
2
  minTL(phy)
  minTL(phy) <- value

Arguments

phy

a phylo4d object

value

Numeric vector of length equal to the number of tips in the tree. Order should correspond to the output of nodeId(tree, type="tip").

Details

TODO

Value

For minTL, a named numeric vector of the same length as tips of tree. (NULL is returned if the tree has no assigned minTL values.) For minTL<-, the updated tree.

Note

This function isn't currently useful for much of anything.

Author(s)

Jim Regetz (regetz@nceas.ucsb.edu)

Examples

1
2
3
  phy <- phylo4d(weeds, "A")
  minTL(phy) <- 1:5
  minTL(phy)

ecoPD documentation built on May 2, 2019, 5:22 p.m.