Learn R Programming

GenomeInfoDb (version 1.8.3)

available.species: Returns a data.frame that lists the available species strings and their taxonomy Ids.

Description

NCBI maintains a collection of unique taxonomy Ids and pairs these with associated genus and species designations. This function returns the set of pre-processed values that we use to check that something is a valid Taxonomy ID (or species name)

Usage

available.species()

Arguments

Value

A data frame with 1 row per species designation and two columns. The 1st column is the taxonomy Id. The second columns is the species name.

Examples

Run this code
  ## get the data
  spec <- available.species()
  tail(spec)
  ## which can then be searched etc.
  spec[grepl('yoelii',spec$species),]

Run the code above in your browser using DataLab