reduceTaxonomy: reduced taxonomy tree for faster searches

Description Usage Arguments Examples

View source: R/taxonomy.R

Description

This reduces the full NCBI taxonomy to the subset containing all taxons in ids. This makes all subsequent searches much faster.

Usage

1
reduceTaxonomy(ids, tax)

Arguments

ids

vector of taxon IDs

tax

NCBI taxonomy object

Examples

1
2
3
rtax <- reduceTaxonomy(c("1148","1140"), tax)
lapply(tax, length)
lapply(rtax, length)

raim/ncbitax documentation built on Aug. 6, 2020, 7:29 a.m.