annotate_with_NCBI_taxid: Retrieve the taxonomic data for a given NCBI taxon ID using a...

View source: R/annotate_with_ncbi.R

annotate_with_NCBI_taxidR Documentation

Retrieve the taxonomic data for a given NCBI taxon ID using a local database or as remote data sources.

Description

Retrieve the taxonomic data for a given NCBI taxon ID using a local database or as remote data sources.

Usage

annotate_with_NCBI_taxid(taxid, rank_vc = NULL, mode = "remote")

Arguments

taxid

A character or numeric vector containing the target NCBI taxon ID.

rank_vc

A character vector containing the desired taxonomic ranks. If empty, all available taxonomic ranges will be retrieved.

mode

A character vector, if "local" will use a local database instead of remote resources. You will not have to download the database but it is slower.

Value

A DataFrame with columns taxid and taxonomic ranks.

Examples

annotate_with_NCBI_taxid(7955, mode = "remote")

currocam/HMMERutils documentation built on Feb. 15, 2023, 8:41 p.m.