adjust_priors {cophescan} | R Documentation |
adjust_priors
Description
adjust fixed priors when nsnps in region is high
Usage
adjust_priors(
nsnps,
pa = 3.82e-05,
pc = 0.00182,
p1 = NULL,
p2 = NULL,
p12 = NULL
)
Arguments
nsnps |
number of SNPs |
pa |
prior probability that a non-query variant is causally associated with the query trait (cophescan prior), default 3.82e-5 |
pc |
prior probability that the query variant is causally associated with the query trait (cophescan prior), default 1.82e-3 (cophescan prior) |
p1 |
prior probability a SNP is associated with trait 1, (coloc prior), pc derived by using |
p2 |
prior probability a SNP is associated with trait 2, (coloc prior), pa derived by using |
p12 |
prior probability a SNP is associated with both traits, (coloc prior), pc derived by using |
Value
vector of pn, pa and pc adjusted prior probabilities
[Package cophescan version 1.4.1 Index]