prepare_rank_dist {taxonbridge}R 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)

[Package taxonbridge version 1.2.2 Index]