Picante utility functions for tree and data manipulation
df2vec(x, colID=1)
internal2tips(phy, int.node, return.names = FALSE)
node.age(phy)
pic.variance(x, phy, scaled = TRUE)
sortColumns(x)
sortRows(x)
taxaShuffle(x)
tipShuffle(phy)
phylo object
A data.frame, matrix or dist object
Numeric or character ID of column to include
internal node number
TRUE or FALSE
Scale contrasts by branch length
A named vector
Vector of tips descended from a node
Phylo object with phylo\$ages vector of node ages corresponding to phylo\$edge
Variance of independent contrasts
A data.frame or matrix with columns sorted by name
A data.frame or matrix with rows sorted by name
Matrix with taxa names shuffled
Phylo object with taxa names shuffled
Various utility functions for manipulating trees, data, etc.