View source: R/pulltreedata.table.R
| pulltreedata.table | R Documentation |
Returns the character matrix or phylogeny from a treedata.table object
pulltreedata.table(tdObject, type = c("dat", "phy"))
tdObject |
A treedata.table object |
type |
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(anolis)
td <- as.treedata.table(anolis$phy, anolis$dat)
pulltreedata.table(td, type = "phy")
pulltreedata.table(td, type = "dat")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.