Learn R Programming

schtools (version 0.4.1)

parse_tax: Convert taxonomy strings into dataframe of labels based on taxonomic classification

Description

Convert taxonomy strings into dataframe of labels based on taxonomic classification

Usage

parse_tax(dat)

Value

a wide dataframe with taxonomic labels

Arguments

dat

dataframe from mothur taxonomy file with columns OTU, Size, and Taxonomy

Author

Nick Lesniak, nlesniak@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