getCnnctdNds | R Documentation |
Return a vector of IDs of all nodes that are connected to tip IDs given.
getCnnctdNds(tree, tids)
tree |
|
tids |
vector of tip IDs |
Returns a vector. This function is the basis for calcPhyDv()
, it determines
the unique set of nodes connected for a set of tips.
getUnqNds
, calcFrPrp
,
calcPhyDv
tree <- randTree(10)
cnntdnds <- getCnnctdNds(tree, c("t1", "t2"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.