get_ids_rank: Get taxonomy info for a list of taxa

Description Usage Arguments Value Author(s) Examples

Description

Get NCBI taxonomy IDs, ranks and names for an input taxon list

Usage

1
get_ids_rank(input_taxa, currentNCBIinfo)

Arguments

input_taxa

input taxon list

currentNCBIinfo

table/dataframe of the current taxonomy data (taxonNamesFull.txt)

Value

A list of 3 dataframes: idList, rankList and reducedInfoList

Author(s)

Vinh Tran tran@bio.uni-frankfurt.de

Examples

1
2
3
4
5
6
7
input_taxa <- c("272557", "176299")
ncbi_filein <- system.file(
    "extdata", "data/taxonNamesFull.txt",
    package = "phyloprofile", mustWork = TRUE
)
currentNCBIinfo <- as.data.frame(data.table::fread(ncbi_filein))
get_ids_rank(input_taxa, currentNCBIinfo)

trvinh/test documentation built on May 9, 2019, 2:26 a.m.