read_tax: Read in a taxonomy file and parse it to a wide dataframe

View source: R/read_tax.R

read_taxR Documentation

Read in a taxonomy file and parse it to a wide dataframe

Description

Read in a taxonomy file and parse it to a wide dataframe

Usage

read_tax(taxonomy_filename, sep = "\t")

Arguments

taxonomy_filename

filename of taxonomy file

sep

Character that separates fields of the taxonomy file. (Default: ⁠\t⁠).

Value

dataframe of taxonomic labels, formatted by parse_tax()

Author(s)

Nick Lesniak, nlesniak@umich.edu

Kelly Sovacool, sovacool@umich.edu

Examples

taxonomy_filepath <- system.file("extdata",
  "test.taxonomy",
  package = "schtools"
)
taxonomy_tbl <- read_tax(taxonomy_filepath)
head(taxonomy_tbl)

SchlossLab/mothuR documentation built on Aug. 29, 2023, 1:32 a.m.