
Generate adjusted scores for plotting mitch results
prepare_mitch_scores.RdFunction that takes results from bixverse::calc_mitch(), extracts the
individual scores and p-values for each contrast, runs an FDR correction
on top of the p-values and sets scores above the provided FDR threshold to
0.
Arguments
- res
data.table. Output of
bixverse::calc_mitch().- fdr_threshold
Numeric. The FDR threshold you want to apply.