Description Usage Arguments Value Examples
Finds the a node given a vector of tip labels or tip indices.
1 | which.node(phy, tips)
|
phy |
a |
tips |
a |
numeric
object with a node number
1 2 3 4 | file <- system.file("data/mcc.tre", package="rBt")
tr <- read.nexus(file)
# find the root node:
rnode <- which.node(tr, tr$tip.label)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.