Diggle, Morris and Morton-Jones statistic for point pattern of p-values as case process and point pattern of p-values using the between-pair randomization as control process

DiggleMorrisMorton(GeneSet, exprm, cases, controls)

Arguments

GeneSet

Rows corresponding to gene set

exprm

Matrix with the p-values

cases

Columns of the original data

controls

Columns of the control data

Value

Percentile of the real statistic with respect to the randomization values