| rarefy_even_depth_pq | R Documentation |
An R-version-robust drop-in replacement for
phyloseq::rarefy_even_depth(), heavily inspired by that function.
rarefy_even_depth_pq(
physeq,
sample_size = NULL,
rngseed = FALSE,
replace = TRUE,
trimOTUs = TRUE
)
physeq |
(required) a |
sample_size |
(integer) the sequencing depth to rarefy to. If |
rngseed |
(logical or integer, default |
replace |
(logical, default |
trimOTUs |
(logical, default |
A new phyloseq-class object with a rarefied
otu_table.
Adrien Taudière
phyloseq::rarefy_even_depth(), rarefy_pq()
data_f_rar <- rarefy_even_depth_pq(data_fungi_mini, sample_size = 500)
sample_sums(data_f_rar)
data_f_rar_notrim <- rarefy_even_depth_pq(
data_fungi_mini,
sample_size = 500,
trimOTUs = FALSE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.