TaxaIden_fn: Workflow Hub for Automated Metagenomic Exploration (WHAM!)

Description Usage Arguments Value Examples

View source: R/Wham.support.R

Description

check the format of taxainfo and output taxa.LEVEL

Usage

1
TaxaIden_fn(TaxaInfo, taxa.level = c("k", "p", "o", "c", "f", "g", "s", "otu"))

Arguments

TaxaInfo

a vector store taxonomic information

taxa.level

required, c("k","p","o","c","f","g","s"). Collapsing the count to provided taxonomic level. options are "k","p","c","o","f","g","s".Only need to declaimed when argument DE is setup as "taxa". Every taxonimic level has to have "k__","p__","c__","o__","f__","g__",or "s__"

Value

a character vector corresponds with taxa.level

Examples

1
2
3
4
taxainfo = c("Unclassified",
             "k__Archaea;p__Euryarchaeota;c__Methanobacteria;o__Methanobacteriales",
             "k__Archaea;p__Euryarchaeota;c__Methanobacteria;o__Methanobacteriales;f__Methanobacteriaceae")
TaxaIden_fn(taxainfo,taxa.level = "f")

zc1286/Wham documentation built on May 14, 2021, 8 p.m.