Runs a Wilcoxon rank-sum test per feature (column) between every pair of
groups. Also reports the fold change (ratio of group means) so results can
be plotted with top_features_plot().
Arguments
- data_matrix
Numeric matrix or data frame with patients in rows and features in columns.
- groups
Vector of group labels with length matching
nrow(data_matrix). When more than two groups are present, every pairwise comparison is run.- p_adjust_method
Multiple-testing correction method passed to
stats::p.adjust().