Learn R Programming

coloc (version 2.3-1)

coloc.abf.datasets: Bayesian colocalisation analysis using data.frames

Description

Bayesian colocalisation analysis using data.frames

Usage

coloc.abf.datasets(df1, df2, snps = intersect(setdiff(colnames(df1), response1), setdiff(colnames(df2), response2)), response1 = "Y", response2 = "Y", ...)

Arguments

df1
dataset 1
df2
dataset 2
snps
col.names for snps
response1
col.name for response in dataset 1
response2
col.name for response in dataset 2
...
parameters passed to coloc.abf.snpStats

Value

output of coloc.abf

Details

Converts genetic data to snpStats objects, generates p values via score tests, then runs coloc.abf