View source: R/barebonesCoNet.R
filterTaxonMatrix | R Documentation |
Discard taxa with less than the given minimum number of occurrences.
filterTaxonMatrix( x, minocc = 0, keepSum = FALSE, return.filtered.indices = FALSE )
x |
taxon abundance matrix, rows are taxa, columns are samples |
minocc |
minimum occurrence (minimum number of samples with non-zero taxon abundance) |
keepSum |
If keepSum is true, the discarded rows are summed and the sum is added as a row with name: summed-nonfeat-rows |
return.filtered.indices |
if true, return an object with the filtered abundance matrix in mat and the indices of removed taxa in the original matrix in filtered.indices |
filtered abundance matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.