name_or_id2df: Transfer taxon name or taxid to the lineage dataframe

View source: R/Rtaxonkit.R

name_or_id2dfR Documentation

Transfer taxon name or taxid to the lineage dataframe

Description

Transfer taxon name or taxid to the lineage dataframe

Usage

name_or_id2df(
  name_or_id,
  mode = "name",
  add_prefix = TRUE,
  fill_miss_rank = TRUE,
  data_dir = NULL
)

Arguments

name_or_id

name or taxid

mode

"id" or "name"

add_prefix

add_prefix

fill_miss_rank

fill_miss_rank

data_dir

directory containing nodes.dmp and names.dmp (default "/Users/asa/.taxonkit")

Value

dataframe

Examples

## Not run: 
name_or_id2df(c("Homo sapiens", "Akkermansia muciniphila ATCC BAA-835"))

## End(Not run)

pctax documentation built on May 29, 2024, 10:03 a.m.