get_taxa: A helper function to filter on GBIF and NCBI taxa names

View source: R/get_methods.R

get_taxaR Documentation

A helper function to filter on GBIF and NCBI taxa names

Description

A helper function to filter on GBIF and NCBI taxa names

Usage

get_taxa(
  x,
  kingdom = NA,
  phylum = NA,
  class = NA,
  order = NA,
  family = NA,
  genus = NA,
  species = NA
)

Arguments

x

A tibble created with load_taxonomies() or load_population() or load_sample().

kingdom

A string consisting of a scientific name.

phylum

A string consisting of a scientific name.

class

A string consisting of a scientific name.

order

A string consisting of a scientific name.

family

A string consisting of a scientific name.

genus

A string consisting of a scientific name.

species

A string consisting of a scientific name.

Details

This method will return results if the scientific name of interest is found in either the GBIF or the NCBI. The scientific name does not have to be case sensitive.

Value

A filtered tibble.

Examples

get_taxa(load_sample(), species = "hyalina")
get_taxa(load_sample(), phylum = "ArthroPODA", genus = "BirGus")

MoultDB/moultdbtools documentation built on Feb. 2, 2024, 5:21 p.m.