View source: R/dada_phyloseq.R
are_modality_even_depth | R Documentation |
The aim of this function is to provide a warnings if samples depth significantly
vary among the modalities of a factor present in the sam_data
slot.
This function apply a Kruskal-Wallis rank sum test to the number of sequences
per samples in function of the factor fact
.
are_modality_even_depth(physeq, fact, boxplot = FALSE)
physeq |
(required): a |
fact |
(required): Name of the factor to cluster samples by modalities.
Need to be in |
boxplot |
(logical) Do you want to plot boxplot? |
The result of a Kruskal-Wallis rank sum test
Adrien Taudière
are_modality_even_depth(data_fungi_mini, "Time")$p.value
are_modality_even_depth(rarefy_even_depth(data_fungi_mini), "Time")$p.value
are_modality_even_depth(data_fungi_mini, "Height", boxplot = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.