getRanks: Get defined taxonomy ranks for a list of taxa

View source: R/getRanks.R

getRanksR Documentation

Get defined taxonomy ranks for a list of taxa

Description

Get defined taxonomy ranks for a list of taxa

Usage

getRanks(taxonList = NULL, ranks = NULL)

Arguments

taxonList

list of taxa

ranks

list of defined ranks. If not given, all available ranks will be considered

Value

A dataframe contains input taxon Ids, their full names and names of defined taxonomy ranks

Author(s)

Vinh Tran tran@bio.uni-frankfurt.de

Examples

taxonList <- c("Homo sapiens", "5207", "40674", "4751")
ranks <- c("family", "class", "phylum", "kingdom")
getRanks(taxonList, ranks)

trvinh/taxFun documentation built on July 3, 2023, 8:55 p.m.