CASE_train.Rd
Fit the priors for the cis-eQTL effect sizes.
CASE_train(
Z = NULL,
R,
hatB = NULL,
hatS = NULL,
N,
V = NULL,
verbose = TRUE,
...
)
M * C matrix of z scores.
M * M matrix of LD.
M * C matrix of the estimated effects. Alternative summary data (together with hatS) to be provided instead of Z.
M * C matrix of standard errors of the estimated effects. Alternative summary data (together with hatB) to be provided instead of Z.
either C vector of the sample size, or C * C matrix of the sample size (diagonal) and ovelaps (off-diagonal). If provided with a vector, CASE assumes that each pair of traits overlaps with their minimal sample size.
(optional) C * C covariance (correlation) matrix for the noise between traits. If not provided, the default is an identity matrix.
(optional) logical, whether to print logging information. Default = TRUE.
additional arguments.
A "CASE_training"
object with the following elements:
L-vector, the prior probabilities of sharing patterns.
L-list of C * C matrix, the prior covariances of sharing patterns.
C * C matrix, the sample-adjusted phenotypical variance.
TBD
TBD