View source: R/dada_phyloseq.R
rarefy_sample_count_by_modality | R Documentation |
rarefy_sample_count_by_modality(physeq, fact, rngseed = FALSE, verbose = TRUE)
physeq |
(required): a |
fact |
(required): The variable to rarefy. Must be present in
the |
rngseed |
(Optional). A single integer value passed to set.seed, which is used to fix a seed for reproducibly random number generation (in this case, reproducibly random subsampling). If set to FALSE, then no iddling with the RNG seed is performed, and it is up to the user to appropriately call |
verbose |
(logical). If TRUE, print additional informations. |
A new phyloseq-class
object.
Adrien Taudière
accu_plot_balanced_modality()
table(data_fungi_mini@sam_data$Height)
data_fungi_mini2 <- rarefy_sample_count_by_modality(data_fungi_mini, "Height")
table(data_fungi_mini2@sam_data$Height)
if (requireNamespace("patchwork")) {
ggvenn_pq(data_fungi_mini, "Height") + ggvenn_pq(data_fungi_mini2, "Height")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.