getBranchLength: getBranchLength

Description Usage Arguments Value Examples

View source: R/getTreeData.R

Description

Find the (rounded) length of a branch from a given species to a given internal node.

Usage

1
getBranchLength(tree, spe, nodeNum)

Arguments

tree

A phylogenetic tree

spe

The name of the species

nodeNum

The number of the internal node desired.

Value

The length of the branch between nodeNum and spe as given by tree.

Examples

1
getBranchLength(tree, "Mouse", 15)

dinaIssakova/rgenesconverged documentation built on Jan. 7, 2020, 4:25 p.m.