Summarise PP and MPP results from single-trait fine-mapping and flashfm, by SNP and by SNP group

PPsummarise(fm.multi, snpGroups, minPP = 0.05)

Arguments

fm.multi

output from flashfm function

snpGroups

list of two sets of snp groups; output from makeSNPgroups2

minPP

a single value such that output for groups consists of group models where PP > minPP for at least one set of fine-mapping results; default is 0.05

Value

a list of 4 objects: MPP lists trait-specific PP of SNP inclusion in a model; MPPg lists trait-specific PP of SNP group inclusion in a model; PP lists trait-specific model PP; PPg lists trait-specific model PP in terms of SNP group