branchesFromNode: Return the indices of branches descending from a given node

Description Usage Arguments Value Author(s) See Also Examples

View source: R/branchesFromNode.R

Description

This function returns the indices of the branches descending from a given node.

Usage

1
branchesFromNode(phy, node)

Arguments

phy

An object of class ‘phylo’.

node

Node for which the descending edges are desired.

Value

A numeric vector giving the descendant edge indices.

Author(s)

Samuel Brown <s_d_j_brown@hotmail.com>

See Also

nodeDesc

Examples

1
2
3
4
data(anoteropsis)
anoTr <- nj(dist.dna(anoteropsis))

branchesFromNode(anoTr, 51)

spiderDev documentation built on May 2, 2019, 5:23 p.m.