Description Usage Arguments Value Author(s) References
View source: R/purgeOutliers.R
Samples are removed if their total counts fall below the specified z-score cutoff (default -2.5); OTUs are removed if their sum of counts is less than specified fraction of total counts (default 0.001), or if they are observed in less than specified fraction of all samples (default 0.2). Samples are removed first, then OTUs.
1 | purgeOutliers(data, count.columns, sampleZcut=(-2.5), otu.cut=0.001, zero.cut=0)
|
data |
A data frame containing counts, with samples as rows and OTUs as columns |
count.columns |
Vector of OTU column numbers. |
sampleZcut |
z-score cutoff for removing low-coverage outlier samples. |
otu.cut |
cutoff for a fraction of total counts the OTU has to represent. This would depend on the methodology and nature of OTUs; for coral symbionts (Symbiodinium sp) the reasonable cutoff is 0.001 (Quigley et al, PLoS ONE 2014) |
zero.cut |
fraction of samples in which the OTU is found. |
The data table with outlier samples and OTUs removed.
Mikhail V. Matz, University of Texas at Austin <matz@utexas.edu>
Elizabeth A. Green, Sarah W. Davies, Mikhail V. Matz, Monica Medina Next-generation sequencing reveals cryptic Symbiodinium diversity within Orbicella faveolata and Orbicella franksi at the Flower Garden Banks, Gulf of Mexico. PeerJ 2014 https://peerj.com/preprints/246/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.