powered by
Retrieve Taxonomic Lineage using taxonkit
taxonkit_lineage( file_path, delimiter = ";", no_lineage = FALSE, show_lineage_ranks = FALSE, show_lineage_taxids = FALSE, show_name = FALSE, show_rank = FALSE, show_status_code = FALSE, taxid_field = 1, text = FALSE, data_dir = NULL )
A character vector containing the taxonomic lineage information.
The path to the input file with taxonomic IDs. Or file text (text=TRUE)
The field delimiter in the lineage (default ";").
Logical, indicating whether to exclude lineage information (default: FALSE).
Logical, indicating whether to append ranks of all levels in the lineage (default: FALSE).
Logical, indicating whether to append lineage consisting of taxids (default: FALSE).
Logical, indicating whether to append scientific name (default: FALSE).
Logical, indicating whether to append rank of taxids (default: FALSE).
Logical, indicating whether to show status code before lineage (default: FALSE).
The field index of taxid. Input data should be tab-separated (default: 1).
logical,
directory containing nodes.dmp and names.dmp (default "/Users/asa/.taxonkit")
if (FALSE) { taxonkit_lineage("9606\n63221", show_name = TRUE, show_rank = TRUE, text = TRUE) }
Run the code above in your browser using DataLab