mioXpektron.analysis.stats
Univariate statistics for aligned feature matrices.
Functions
|
Benjamini–Hochberg FDR correction for a 1D array of p-values. |
|
Welch t-test per feature with log2 fold-change (group_a / group_b). |
- mioXpektron.analysis.stats.bh_fdr(pvals)[source]
Benjamini–Hochberg FDR correction for a 1D array of p-values.
- mioXpektron.analysis.stats.compute_univariate_tests(X, y, *, group_a=None, group_b=None, reference_group=None, eps=1e-12)[source]
Welch t-test per feature with log2 fold-change (group_a / group_b).
When
group_aandgroup_bare omitted, the two largest groups by sample count are compared.reference_groupsets the denominator for log2 fold-change and defaults togroup_b.