| are_modality_even_depth {MiscMetabar} | R Documentation | 
Test if the mean number of sequences by samples is link to the modality of a factor
Description
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.
Usage
are_modality_even_depth(physeq, fact, boxplot = FALSE)
Arguments
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?  | 
Value
The result of a Kruskal-Wallis rank sum test
Author(s)
Adrien Taudière
Examples
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)
[Package MiscMetabar version 0.9.1 Index]