snp_ppa: snp_ppa

Description Usage Arguments Value Author(s) Examples

View source: R/functions_moloc.R

Description

Posterior probability that each SNP is THE causal variant for a shared signal

Usage

1
snp_ppa(ABF, n_files, config_ppas)

Arguments

ABF

is an array containing the single and coloc logBFs

n_files

is one number, i.e. the number of traits to be analyzed

priors

is the prior for one variant to be associated with 1 trait and with each additional trait

Value

A data frame containing the likelihoods and posteriors for each configuration combination

Author(s)

Jimmy Liu, Claudia Giambartolomei

Examples

1
snp <- snp_ppa(ABF, n_files=3, config_ppas=lkl[[1]])

clagiamba/moloc documentation built on Jan. 25, 2021, 2:43 a.m.