Learn R Programming

ggphylo (version 0.1)

tree.get.root: Returns the index of the root node in the tree, or NA if there is no root

Description

Returns the index of the root node in the tree, or NA if there is no root

Usage

tree.get.root(phylo)

Arguments

phylo
input phylo object

Value

integer vector corresponding to the index of the root node, or NA if there is no root.