Skip to contents

Recover complete taxonomy for a given NCBI Taxonomy Tax ID

Usage

get_tax_by_taxID(
  organisms_taxIDs,
  parse_result = TRUE,
  verbose = FALSE,
  env_name = "entrez-env"
)

Arguments

organisms_taxIDs

Vector of NCBI Taxonomy Tax ID to retrieve taxonomy for.

parse_result

Should the taxonomy be returned as the efetch returns it or should it be parsed into a tibble.

total_cores

Number of threads to use. Defaults to 1.

show_command

Should the efetch command on command line be printed for debugging. Defaults to TRUE.

Value

A tibble with all the taxonomic ranks for the corresponding taxID.