filter hits for data list.

filter_hits_list(data_stats, min_hits_enrichment, min_hits_rcp,
  pval_thresh, case_over_control = TRUE, bind_rows = FALSE)

Arguments

data_stats

Input data list.

min_hits_enrichment

Threshold value for data_stats$Case.Hits.

min_hits_rcp

Threshold value for data_stats$RCP.Hits.Case

pval_thresh

Threshold Value for Fisher.PValue.Min

case_over_control

Logical describing whether or not to only keep hits for which hit frequency in cases is higher than hit frequency in controls.

bind_rows

Logical determining wiether dplyr::bind_rows is called at the end.