Computes association statistics, the first four moments of the trend statistic A under permutation, and p-values based on the Beta density approximation.
Usage
getbetap.A(getAmoment.list,A=NULL,fix.obs=F)
Arguments
getAmoment.list
A list which contains all the items generated by getAmoment function.
A
The vector A is composed of elements A_i=∑_j x_{ij} y_j. In other words, each A_i is the observed statistic of interest. getbetap.A also allows the user to input the A vector directly. This is useful mainly for debugging purposes, or for obtainting approximate p-values across a grid of hypothetical A values.
fix.obs
this option itentifies and improves the p-values using for MCC_1 features with implausibily small MCCp-values.
Details
mcc utilizes a general framework for testing the association between features and clinical variables. It simultaneously performs up to millions of tests by using simple parametric approximations applied to exact permutation moments.