pulltreedata.table {treedata.table} | R Documentation |
Returns the character matrix or phylogeny from a treedata.table object
Description
Returns the character matrix or phylogeny from a treedata.table object
Usage
pulltreedata.table(tdObject, type = c("dat", "phy"))
Arguments
tdObject |
A treedata.table object |
type |
Whether the output of the function is a tree ('type="phylo"') or a data.table ('type="dat"') |
Value
A data.table
or phylo
object from the original treedata.table
object
Examples
data(anolis)
td <- as.treedata.table(anolis$phy, anolis$dat)
pulltreedata.table(td, type = "phy")
pulltreedata.table(td, type = "dat")
[Package treedata.table version 0.1.0 Index]