View source: R/dispRity.utilities.R
make.dispRity | R Documentation |
dispRity
.Creating an empty dispRity
object from a matrix
make.dispRity(data, tree, call, subsets) fill.dispRity(data, tree)
data |
A |
tree |
Optional, a |
call |
Optional, a |
subsets |
Optional, a |
Thomas Guillerme
## An empty dispRity object make.dispRity() ## Still an empty dispRity object (with a matrix) (empty <- make.dispRity(data = matrix(rnorm(12), ncol = 3))) ## A dispRity object with a matrix of 4*3 fill.dispRity(empty) ## A dispRity object with a tree my_tree <- rtree(4, tip.label = c(1:4)) fill.dispRity(empty, tree = my_tree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.