R/summarise.R
MPP.PP.groups.fn.Rd
Summarise, for a set of diseases, posterior probabilities and marginal posterior probabilities by SNP groups
MPP.PP.groups.fn(MPP, pp, dis, shared, snpGroups)
MPP | Matrix of marginal probabilities for a set of diseases and kappa values; output as MPP from PPmarginal.multiple.fn |
---|---|
pp | List consisting of posterior probability matrices for each disease; output as PP from PPmarginal.multiple.fn |
dis | Vector of disease names |
shared | Vector of kappa values |
snpGroups | List of SNP groups for region |
List consisting of mppGS: matrix of marginal probabilities by SNP groups; gPP: list of PP matrices by SNP groups