grepName: find taxon IDs for species name patterns

Description Usage Arguments Examples

View source: R/taxonomy.R

Description

Simply uses base R's grep to grep for a name pattern in the official NCBI taxon names and returns all matching taxon IDs as a table with columns ID and name.

Usage

1

Arguments

pattern

regular expression, see argument pattern in grep

tax

NCBI taxonomy object

...

arguments to grep

Examples

1
grepName("Synechocystis", tax)

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