Usage
assign.cv.output(processed.data, mcmc.pos.mean.trainingData, trainingData,
trainingLabel, adaptive_B=FALSE, adaptive_S=FALSE, mixture_beta=TRUE, outputDir)
Arguments
processed.data
The list object returned from the assign.preprocess function.
mcmc.pos.mean.trainingData
The list object returned from the assign.mcmc function. Notice that for cross validation, the Y argument in the assign.mcmc function should be set as the training dataset.
trainingData
The genomic measure matrix of training samples (i.g., gene expression matrix). The dimension of this matrix is probe number x sample number. The default is NULL.
trainingLabel
The list linking the index of each training sample to a specific group it belongs to.
adaptive_B
Logicals. If TRUE, the model adapts the baseline/background (B) of genomic measures for the test samples. The default is FALSE.
adaptive_S
Logicals. If TRUE, the model adapts the signatures (S) of genomic measures for the test samples. The default is FALSE.
mixture_beta
Logicals. If TRUE, elements of the pathway activation matrix are modeled by a spike-and-slab mixuture distribution. The default is TRUE.
outputDir
The path to the directory to save the output files. The path needs to be quoted in double quotation marks.