Usage
RCMtest(Y, X, R, testType = "I", nBoot = 100, lowCiThres = 0.1,
shrinkType = "none", estType = "normal", corType = "unif",
maxNoIt = 100, minSuccDist = 0.005, returnNullDist = FALSE,
ncpus=1, verbose = FALSE)
Arguments
Y
The matrix containing the (e.g., expression) data (number of columns equal to number of features, number of rows equal to number of samples).
X
The design matrix (number of rows equal to number of samples, number of columns equal to number of covariates).
R
The linear constraint matrix (number of columns equal to the number of covariates).
testType
The hypothesis to be tested: I (H0 : R beta = 0 & tau2 = 0) vs. (H2 : R beta >= 0 V tau2 >= 0), II (H0 : R beta = 0 & tau2 = 0) vs. (H1 : R beta >= 0 & tau2 = 0), III (H1 : R beta >= 0 & tau2 = 0) vs. (H2 : R beta >= 0 & tau2 >= 0).
nBoot
Number of bootstraps.
lowCiThres
A value between 0 and 1. Determines speed of efficient p-value calculation. If the probability of a p-value being below lowCiThres is smaller than 0.001 (read: the test is unlikely to become significant), bootstrapping is terminated and a p-value of 1.00 is reported.
shrinkType
The type of shrinkage to be applied to the error variances: none (shrinkage parameter is set equal to zero: no shrinkage), opt (shrinkage parameter is chosen to minimize the mean squared error criterion) or full (shrinkage parameter is set equal to one).
estType
Type of estimation, either normal (non-robust) or robust.
corType
Correlation structure to be used, either unif or ar1.
maxNoIt
Maximum number of iterations in the ML procedure.
minSuccDist
Minimum distance between estimates of two successive iterations to be achieved.
returnNullDist
Logical indicator: should the null distribution be returned?
ncpus
Number of cpus used for the bootstrap.
verbose
Logical indicator: should intermediate output be printed on the screen?