filter_hits.Rdfilter hits data to prepare for RCPGenerator
filter_hits(data, min_hits_enrichment, min_hits_rcp, pval_thresh, case_over_control = TRUE)
| data | Input data frame. |
|---|---|
| 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 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. |