Description Usage Arguments Value Author(s) Examples
This function filter taxa group by counts or relative abundance. If filter by counts, taxa having total counts more than a threshhold will be kept. If filter by relative abundance, taxa with the maximum relative abundance greater than a threshhold in at least one subject will be kept.
1 2 | filter.Taxa(taxa, drop.unclassified=TRUE,
percent=NULL, number=NULL)
|
taxa |
the taxonomy abundance matrix: sample x species data frame.
See also |
drop.unclassified |
logical, whether or not remove unclassified groups.
See also |
percent |
a floating point greater than 0 and less or equals to 1. Filter Taxa table by relative abundance. |
number |
an integer. FilterTaxa table by total sequence counts. |
The value returned by this function is a data frame with taxa met the filter requirement only.
Wen Chen
1 2 3 |
Loading required package: vegan
Loading required package: permute
Loading required package: lattice
This is vegan 2.5-3
Loading required package: ggplot2
sh: 1: cannot create /dev/null: Permission denied
sh: 1: cannot create /dev/null: Permission denied
[1] "12 taxa met the filter requirment"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.