View source: R/treeplyr_functions.R
| slice.treedata | R Documentation |
treedataThis function can be used to drop tips from tree and data; see slice.
## S3 method for class 'treedata'
slice(.data, ...)
.data |
An object of class |
... |
Integer row values |
An object of class treedata.
slice
data(anolis)
td <- make.treedata(anolis$phy, anolis$dat)
tdslice <- slice(td, 1:5)
tdslice
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.