Learn R Programming

schtools (version 0.4.1)

read_tax: 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")

Value

dataframe of taxonomic labels, formatted by parse_tax()

Arguments

taxonomy_filename

filename of taxonomy file

sep

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

Author

Nick Lesniak, nlesniak@umich.edu

Kelly Sovacool, sovacool@umich.edu

Examples

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

Run the code above in your browser using DataLab