Closed testing with branch and bound algorithm specifically for globaltest
ctbab(y, Cm, Tm, upnode, level, lownode, tmin, ctrue, lf, ls, alpha, count = 0, maxIt = 0)
The response variable
The matrix for calculating critical values of globaltest
The matrix for calculating test statistics of globaltest
The upper node that is used to bound critical values
The level that the GO term of interest
The lower node that is used to bound critical values
The minimum test statistic
The true critical value corresponding to the minimum test statistic
The lambda vector corresponding to the upper node
The lambda vector corresponding to the lower node
The significance level
An integer stores the repetitions of the branch and bound, i.e. how many time branch and bound is implemented
The maximal number of repetitions prespecified by user
It will retrun the rejection indicator by closed testing with branch and bound algorithm.
Xu, N., & Goeman, J. (2020). Closed testing with Globaltest with applications on metabolomics data. arXiv preprint arXiv:2001.01541.