Check percentage of DA genes
check_DA_perc.RdInternal utility function, used in extract_DA_results to
check if assumptions are met.
Usage
check_DA_perc(
DA_outcomes_table,
DA_warn_threshold = 0.2,
pval_thresh,
lfc_thresh,
adj_method
)Arguments
- DA_outcomes_table
DA results data frame. Should be the output of
limma::decideTests, coerced to a data frame.- DA_warn_threshold
Proportion of DA genes at which we warn user.
- pval_thresh
P-value threshold used.
- lfc_thresh
logFC threshold used.
- adj_method
P-value adjustment method used.