prepare_rank_dist: Get all NCBI and GBIF taxonomic ranks

View source: R/prepare_methods.R

prepare_rank_distR Documentation

Get all NCBI and GBIF taxonomic ranks

Description

Get all NCBI and GBIF taxonomic ranks

Usage

prepare_rank_dist(x, GBIF = FALSE, NCBI = FALSE)

Arguments

x

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

GBIF

A logical indicating whether GBIF taxonomic ranks are to be retrieved.

NCBI

A logical indicating whether NCBI taxonomic ranks are to be retrieved.

Details

This method returns taxonomic ranks aggregated by frequency for data derived from the NCBI, the GBIF, or both.

Value

A list of tibble(s) assigned to the S3 class one_rank or to the S3 class all_ranks.

Examples

prepare_rank_dist(load_sample(), NCBI=TRUE, GBIF=TRUE)
prepare_rank_dist(load_sample(), NCBI=TRUE)

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