TraditR2: Traditional Filtering Rule 2

Description Usage Arguments Value Author(s) References Examples

View source: R/utility_functions.R

Description

This rule is adopted from Milici et al. (2016) that removes taxa with low abundance level. Specifically, it keeps taxa with abundance level higher than 0.001 Then it further selects taxa that satisfy at least one of the following conditions: Present in at least one sample at a relative abundance higher than 1 abundance higher than 0.1

Usage

1
TraditR2(X, Ab_min = 0.001)

Arguments

X

OTU COUNTS table, where taxa are columns and samples are rows of the table. It should be a in data frame format with columns corresponding to taxa names.

Ab_min

Numerical value, set to 0.001 by default. Throughout all samples, taxa with abundance less than this threshold with be removed.

Value

filtX

Filtered OTU table

Author(s)

Ekaterina Smirnova

References

Smirnova, E., Huzurbazar, H., Jafari, F. “PERFect: permutation filtration of microbiome data.

Examples

1
2
3
4
5
6
7
data(mock2)

# Counts data matrix
Counts <- mock2$Counts

# Filtering
Filtered_X <- TraditR2(Counts)

katiasmirn/PERFect documentation built on Sept. 17, 2019, 11:54 a.m.