Construct omnibus soft-thresholding Fisher's p-value combination statistic.
stat.soft.omni(p, TAU1, M = NULL)
- input p-values.
- a vector of truncation parameters (=normalization parameters). Must be in non-descending order.
- correlation matrix of the input statistics. Default = NULL assumes independence.
omni - omnibus soft-thresholding statistic.
pval - p-values of each soft-thresholding tests.
Let
1. Hong Zhang and Zheyang Wu. "TFisher Tests: Optimal and Adaptive Thresholding for Combining p-Values", submitted.
# NOT RUN {
pval = runif(20)
TAU1 = c(0.01, 0.05, 0.5, 1)
stat.soft.omni(p=pval, TAU1=TAU1)
M = matrix(0.3,20,20) + diag(1-0.3,20)
stat.soft.omni(p=pval, TAU1=TAU1, M=M)
# }
Run the code above in your browser using DataLab