ctbab {newFocus}R Documentation

Closed testing with branch and bound

Description

Closed testing with branch and bound algorithm specifically for globaltest

Usage

ctbab(y, Cm, Tm, upnode, level, lownode, tmin, ctrue, lf, ls, alpha, count = 0, maxIt = 0)

Arguments

y

The response variable

Cm

The matrix for calculating critical values of globaltest

Tm

The matrix for calculating test statistics of globaltest

upnode

The upper node that is used to bound critical values

level

The level that the GO term of interest

lownode

The lower node that is used to bound critical values

tmin

The minimum test statistic

ctrue

The true critical value corresponding to the minimum test statistic

lf

The lambda vector corresponding to the upper node

ls

The lambda vector corresponding to the lower node

alpha

The significance level

count

An integer stores the repetitions of the branch and bound, i.e. how many time branch and bound is implemented

maxIt

The maximal number of repetitions prespecified by user

Value

It will retrun the rejection indicator by closed testing with branch and bound algorithm.

Author(s)

Ningning Xu

References

Xu, N., & Goeman, J. (2020). Closed testing with Globaltest with applications on metabolomics data. arXiv preprint arXiv:2001.01541.


[Package newFocus version 1.1 Index]