StatsGenerator.Rd
performs a first round of calculations on the data such as hit frequency and Fisher's test. These calculations will be used in subsequent graphing.
StatsGenerator(case, ctrl, case_rcp, ctrl_rcp, hit_thresh = 10, rcp_thresh = 0.95, stat_test = "Fisher", pval_correction = "BH", note_range = 1)
case | Case data |
---|---|
ctrl | Control data |
case_rcp | Case RCP data |
ctrl_rcp | Control RCP data |
hit_thresh | Enrichment hit threshold. |
rcp_thresh | RCP hit threshold. |
stat_test | Statistical test. Currently supports "Fisher" |
pval_correction | Multiple hypothesis pvalue correction method. BH default. |