View source: R/treeplyr_functions.R
reorder | R Documentation |
treedata
objectReorders a treedata
object. Both the tips and the data are automatically reordered to match.
reorder(tdObject, ...) ## S3 method for class 'treedata' reorder(tdObject, order = "postorder", index.only = FALSE, ...)
tdObject |
An object of class |
... |
Additional arguments to reorder.phylo |
order |
Method for reordering |
index.only |
Whether a index is returned rather than the reordered treedata object |
An object of class treedata
reorder.phylo
data(anolis) td <- make.treedata(anolis$phy, anolis$dat) td <- reorder(td, "postorder")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.