Learn R Programming

taxonbridge (version 1.0.5)

prepare_rank_dist: 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.

Value

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

Details

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

Examples

Run this code
# NOT RUN {
prepare_rank_dist(load_sample(), NCBI=TRUE, GBIF=TRUE)
prepare_rank_dist(load_sample(), NCBI=TRUE)
# }

Run the code above in your browser using DataLab