marginalpp0.Rd
Marginal PP for models sharing information between traits, when trait correlation is zero
marginalpp0(STR, PP, mbeta, kappa, N, nsnps, NCORES)
list of models for traits 1, 2, ..., n, each given in
the form of a character vector, with entries
"snp1%snp2%snp3"
. The null model is given by
"1"
OR "0"
. It is assumed that all elements of
ABF, PP and pr below follow this same order.
list of posterir probabilities for the models in M
list of joint beta estimates for each trait
single value or vector of values to consider for the sharing scale parameter. the value of kappa=1 must be included, and if not will be prepended.
number of individiduals with measurements for all traits
number of snps in region
number of cores for parallel computing; recommend NCORES=M, but if on Windows, use NCORES=1
list of: - single.pp: list of pp for each model in
STR[[i]]
for trait i - shared.pp: list of pp for each model
in STR[[i]]
for trait i