offspring.species: Find the species nodes

Description Usage Arguments Value Author(s) See Also Examples

Description

The function returns the descendant species of inode.

Usage

1
offspring.species(inode, nodematrix, nspecies)

Arguments

inode

the node.

nodematrix

the tree node matrix

nspecies

the number of species

Value

This function returns the descendant species of inode, while the function offspring.nodes returns all the descendant nodes of inode including internal nodes in the tree.

Author(s)

Liang Liu lliu@uga.edu

See Also

offspring.nodes

Examples

1
2
3
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.species(7,nodematrix,5)

bomeara/phybase documentation built on May 12, 2019, 11:35 p.m.