config_coloc: config_coloc

Description Usage Arguments Value Author(s) Examples

View source: R/functions_moloc.R

Description

Likelihood frame and posterior probability for combinations of sharing/not sharing of causal variants across the datasets in the input data

Usage

1
config_coloc(ABF, n_files, priors)

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

are numbers, 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
lkl <- config_coloc(ABF, n_files=3, priors=c(1e-04, 1e-06, 1e-07))

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