Transfer taxon name or taxid to the lineage dataframe

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

if (FALSE) { # \dontrun{
name_or_id2df(c("Homo sapiens", "Akkermansia muciniphila ATCC BAA-835"))
} # }