marginalpp.Rd
Marginal PP for models sharing information between traits
marginalpp(
STR,
PP,
mbeta,
covY,
SSy,
Sxy,
kappa,
N,
Nqq,
nsnps,
Mx,
xcovo,
Nq3,
Nq4,
fastapprox,
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
trait covariance matrix
matrix of trait cross-products
matrix with each column being the cross-product between SNPs and a 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
matrix in which Nqq[i,j]
= number of individuals measured in both trait i and trait j
number of snps in region
vector of SNP means
SNP covariance matrix
vector of counts of number of individuals with three traits measured; all triples considered; NULL if M < 4
vector of counts of number of individuals with four traits measured; all quadruples considered; NULL if M < 5
logical that is TRUE when fast approximation is used that does not include unequal sample size adjustments; default is FALSE
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