Skip to contents

The per-variant prior probabilities coloc scores with, all three forwarded to coloc::coloc.bf_bf.

These describe the baseline analysis only. When enrichment is supplied to colocPipeline the priors are derived from the enrichment estimate instead, the way enloc derives them, and supplying both is an error rather than a silent precedence rule.

Usage

ColocPriorParam(p1 = 1e-04, p2 = 1e-04, p12 = 5e-06)

Arguments

p1

Prior probability a variant is causal for the QTL trait. Default 1e-4.

p2

Prior probability a variant is causal for the GWAS trait. Default 1e-4.

p12

Prior probability a variant is causal for both. Default 5e-6.

Value

A ColocPriorParam object, a MethodParam.

Examples

ColocPriorParam(p12 = 1e-5)
#> <ColocPriorParam>
#>   p1                       1e-04
#>   p2                       1e-04
#>   p12                      1e-05