Marginal PP for models of a set of traits, sharing information between the traits, when trait correlation is zero

flashfmZero(main.input, TOdds = 1, cpp = 0.99, maxmod = NULL, NCORES)

Arguments

main.input

List of 3 components: SM=list of snpmod objects for a set of traits; mbeta=list of joint effects for each trait; nsnps= number of SNPs in the region This could be obtained from flashfm.input or JAMexpanded.multi.

TOdds

Vector of target odds of no sharing to sharing

cpp

cumulative posterior probability threshold for selecting top models; this is ignored when maxmod is spespecified

maxmod

maximum number of top models to output; NULL by default

NCORES

number of cores for parallel computing; recommend NCORES=M, but if on Windows, use NCORES=1

Value

List consisting of PP: marginal PP for models and MPP: marginal PP of SNP inclusion

Author

Jenn Asimit