TraditR1: Traditional Filtering Rule 1

Description Usage Arguments Value Author(s) References Examples

View source: R/utility_functions.R

Description

This rule suggests to remove taxa that are mostly absent in all samples.

Usage

1
TraditR1(X, thresh =5)

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.

thresh

Numerical value, set to 5 by default. Throughout all samples, taxa that are present for 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 <- TraditR1(Counts)

PERFect documentation built on Nov. 8, 2020, 7:43 p.m.