Usage
assign.mcmc(Y, Bg, X, Delta_prior_p, iter=2000, adaptive_B=TRUE, adaptive_S=FALSE,
mixture_beta=TRUE, sigma_sZero = 0.01, sigma_sNonZero = 1, p_beta = 0.01,
sigma_bZero = 0.01, sigma_bNonZero = 1, alpha_tau = 1, beta_tau = 0.01,
Bg_zeroPrior=TRUE, S_zeroPrior=TRUE, ECM = FALSE)
Arguments
Y
The G x J matrix of genomic measures (i.g., gene expession) of test samples. Y is the testData_sub variable returned from the data.process function. Genes/probes present in at least one pathway signature are retained.
Bg
The G x 1 vector of genomic measures of the baseline/background (B). Bg is the B_vector variable returned from the data.process function. Bg is the starting value of baseline/background level in the MCMC chain.
X
The G x K matrix of genomic measures of the signature. X is the S_matrix variable returned from the data.process function. X is the starting value of pathway signatures in the MCMC chain.
Delta_prior_p
The G x K matrix of prior probability of a gene being "significant" in its associated pathway. Delta_prior_p is the Pi_matrix variable returned from the data.process function.
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.
iter
The number of iterations in the MCMC. The default is 2000.
sigma_sZero
Each element of the signature matrix (S) is modeled by a spike-and-slab mixuture distribution. Sigma_sZero is the variance of the spike normal distribution. The default is 0.01.
sigma_sNonZero
Each element of the signature matrix (S) is modeled by a spike-and-slab mixuture distribution. Sigma_sNonZero is the variance of the slab normal distribution. The default is 1.
p_beta
p_beta is the prior probability of a pathway being activated in individual test samples. The default is 0.01.
sigma_bZero
Each element of the pathway activation matrix (A) is modeled by a spike-and-slab mixuture distribution. sigma_bZero is the variance of the spike normal distribution. The default is 0.01.
sigma_bNonZero
Each element of the pathway activation matrix (A) is modeled by a spike-and-slab mixuture distribution. sigma_bNonZero is the variance of the slab normal distribution. The default is 1.
alpha_tau
The shape parameter of the precision (inverse of the variance) of a gene. The default is 1.
beta_tau
The rate parameter of the precision (inverse of the variance) of a gene. The default is 0.01.
Bg_zeroPrior
Logicals. If TRUE, the prior distritribution of baseline/background level follows a normal distribution with mean zero. The default is TRUE.
mixture_beta
Logicals. If TRUE, elements of the pathway activation matrix are modeled by a spike-and-slab mixuture distribution. The default is TRUE.
S_zeroPrior
Logicals. If TRUE, the prior distritribution of signature follows a normal distribution with mean zero. The default is TRUE.
ECM
Logicals. If TRUE, ECM algorithm, rather than Gibbs sampling, is applied to approximate the model parameters. The default is FALSE.