getRootNode

Get the index of the root node for a tree

Description

Get the index of the root node for a tree

Usage

getRootNode(tree)

Arguments

Argument

Description

tree

An object of type “phylo” (a tree loaded in ape).

Value

The index of the root node in the tree object