AmpliconExperiment.
diff_abundance
(field, val1, val2=None, method='meandiff', transform='rankdata', numperm=1000, alpha=0.1, fdr_method='dsfdr', random_seed=None)[source]¶Differential abundance test between 2 groups of samples for all the features.
It uses permutation based nonparametric test and then applies multiple hypothesis correction. The idea is that you compute a defined statistic and compare it to the distribution of the same statistic values computed from many permutations.
Parameters: |
|
---|---|
Returns: | A new experiment with only significant (FDR <= maxfval) difference, sorted according to the effect size. The new experiment contains additional feature_metadata_fields that include:
|
Return type: |