Summarize a results data.frame. Return data.frame of counts of up/down/non-DE genes based on log-fold-change and significance values.
Arguments
- df
dataframe of results. Must have columns containing significance values and log-fold changes.
- fdr_col
Column name of the data.frame containing the significance level values.
- lfc_col
Column name of data.frame containing the log-fold change values.
- fdr
numeric. FDR or significance value below which genes are considered significant.
- lfc
numeric. abs(log-fold change) value above which genes are considered significant.