getRoot: Find the root of a phylogeny

View source: R/ape_utils.R

getRootR Documentation

Find the root of a phylogeny

Description

An utility function to find the root of a tree

Usage

getRoot(phy)

Arguments

phy

a phylo-class object from the ape package

Value

The index of the root

See Also

[getAncestor][getNextDescendants][findSisters][getConnected]


wu-lab-uva/RasperGade documentation built on June 24, 2022, 2:47 p.m.