This function uses Taxonkit to perform the "list" operation, which retrieves information about taxa based on their TaxIDs.
taxonkit_list(
ids,
indent = " ",
json = FALSE,
show_name = FALSE,
show_rank = FALSE,
data_dir = NULL
)
A character vector of TaxIDs to retrieve information for.
The indentation string to use for pretty-printing the output. Default is " ".
Logical value indicating whether to output the result in JSON format. Default is FALSE.
Logical value indicating whether to show the scientific names of taxa. Default is FALSE.
Logical value indicating whether to show the ranks of taxa. Default is FALSE.
directory containing nodes.dmp and names.dmp (default "/Users/asa/.taxonkit")
The output of the Taxonkit list operation.
Other Rtaxonkit:
check_taxonkit()
,
download_taxonkit_dataset()
,
install_taxonkit()
,
name_or_id2df()
,
taxonkit_filter()
,
taxonkit_lca()
,
taxonkit_lineage()
,
taxonkit_name2taxid()
,
taxonkit_reformat()
if (FALSE) { # \dontrun{
taxonkit_list(ids = c(9605), indent = "-", show_name = TRUE, show_rank = TRUE)
} # }