raref_rtk | R Documentation |
RTK-based rarefaction
raref_rtk(
physeq,
SampSize = NULL,
MinSizeThreshold = NULL,
iter = 1000,
trimOTUs = TRUE,
...
)
physeq |
A phyloseq-class object |
SampSize |
Rarefaction depth (number of reads to sample) |
MinSizeThreshold |
Remove samples with number of reads less than this threshold |
iter |
Number of rarefication iterations |
trimOTUs |
Logical, if TRUE (default), OTUs that have a count of zero in every sample will be removed |
... |
Additional arguments will be passed to |
List of rarefied phyloseq-objects.
data("esophagus")
eso_raref <- raref_rtk(esophagus, iter = 10)
# Benchmark
system.time( GPr <- raref_rtk(GlobalPatterns, SampSize = 5000, iter = 10, trimOTUs = T) )
system.time( GPr <- phyloseq_mult_raref(GlobalPatterns, SampSize = 5000, iter = 10, trimOTUs = T) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.