Description Usage Arguments Value See Also Examples
Subset samples and prune taxa/OTU with zero abundance
1 | subset_samples_no_zero(physeq, ...)
|
physeq |
|
... |
The subsetting expression that should be applied to the
|
A subsetted object with the same class as physeq
subset_samples
on which it rely.
1 2 3 4 5 6 | require(phyloseq)
data(GlobalPatterns)
gp<-subset_samples(GlobalPatterns, SampleType=="Ocean")
gp.nz<-subset_samples_no_zero(GlobalPatterns, SampleType=="Ocean")
ntaxa(gp) # 19216 OTU
ntaxa(gp.nz) # 5669 OTU
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.