parse_tax: Convert taxonomy strings into dataframe of labels based on...

View source: R/read_tax.R

parse_taxR Documentation

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)

Arguments

dat

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

Value

a wide dataframe with taxonomic labels

Author(s)

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