read_tax {schtools}R 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)

[Package schtools version 0.4.1 Index]