coloc.abf(dataset1, dataset2, MAF = NULL, p1 = 1e-04, p2 = 1e-04, p12 = 1e-05)
Some of these items may be missing, but you must give
type
and then either pvalues
, N
and
s
(if type="cc") or beta
and
varbeta
. If you use pvalues, then the function
needs to know minor allele frequencies, and will either
use the MAF given here or a global estimate of MAF
supplied separately.
data.frame
s: If regression coefficients and variances are available, it calculates Bayes factors for association at each SNP. If only p values are available, it uses an approximation that depends on the SNP's MAF and ignores any uncertainty in imputation. Regression coefficients should be used if available.