offspring.nodes {phybase} | R Documentation |
The function returns the offspring nodes of inode
.
offspring.nodes(inode, nodematrix, nspecies)
inode |
the node of which the the offspring nodes will be found by the function. |
nodematrix |
the tree node matrix. |
nspecies |
the number of species. |
The function returns the offspring nodes of inode
.
Liang Liu lliu@oeb.harvard.edu
treestr<-"((((H:0.00402,C:0.00402):0.00304,G:0.00707):0.00929,O:0.01635):0.1,W:0.12);" nodematrix<-read.tree.nodes(treestr)$nodes offspring.nodes(7,nodematrix,5)