powered by
Returns the character matrix or phylogeny from a treedata.table object
pulltreedata.table(tdObject, type = c("dat", "phy"))
A treedata.table object
Whether the output of the function is a tree ('type="phylo"') or a data.table ('type="dat"')
A data.table or phylo object from the original treedata.table object
data.table
phylo
treedata.table
# NOT RUN { data(anolis) td <- as.treedata.table(anolis$phy, anolis$dat) pulltreedata.table(td, type = "phy") pulltreedata.table(td, type = "dat") # }
Run the code above in your browser using DataLab