is_taxon_id: Check if something is a taxon_id object

Description Usage Arguments Examples

View source: R/taxon_id.R

Description

Check if an object is of the taxon_id class

Usage

1

Arguments

x

An object to test

Examples

1
2
3
x <- taxon_id(c('9606', '1386', '4890', '4345'), db = 'ncbi')
is_taxon_id(x)
is_taxon_id(1:3)

zachary-foster/taxa2 documentation built on Jan. 1, 2021, 1:48 p.m.