findRoot: Lineage Down to the Root

Description Usage Arguments Value

View source: R/findRoot.R

Description

Finds the lineage from one taxon, or the most recent common ancestor of several taxa, down to the root of the Tree of Life.

Usage

1
findRoot(x, what)

Arguments

x

An object of class megapteraProj.

what

A character string, either "ingroup", "outgroup", or "both".

Value

A data frame with three columns:

id

the unique identifier of the taxon

taxon

the scientific name of the taxon

rank

the rank of the taxon

The row order is from lower to higher ranked taxa, i.e. backwards into evolutionary time.


heibl/megaptera documentation built on Jan. 17, 2021, 3:34 a.m.