Usage
assign.output(processed.data, mcmc.pos.mean.testData, trainingData, testData,
trainingLabel, testLabel, geneList, adaptive_B=TRUE, adaptive_S=FALSE, mixture_beta=TRUE,
outputDir)
Arguments
processed.data
The list object returned from the assign.preprocess function.
mcmc.pos.mean.testData
The list object returned from the assign.mcmc function. Notice that for prediction/validation in the test dataset, the Y argument in the assign.mcmc function should be set as the test 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.
testData
The genomic measure matrix of test samples (i.g., gene expression matrix). The dimension of this matrix is probe number x sample number.
trainingLabel
The list linking the index of each training sample to a specific group it belongs to.
testLabel
The vector of the phenotypes/labels of the test samples.
geneList
The list that collects the signature genes of one/multiple pathways. Every component of this list contains the signature genes associated with one pathway.
adaptive_B
Logicals. If TRUE, the model adapts the baseline/background (B) of genomic measures for the test samples. The default is TRUE.
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.