name_or_id2df {pctax}R 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)

[Package pctax version 0.1.1 Index]