Bayesian colocalisation analysis using data.frames
coloc.abf.datasets( df1, df2, snps = intersect(setdiff(colnames(df1), response1), setdiff(colnames(df2), response2)), response1 = "Y", response2 = "Y", ... )
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 |
output of coloc.abf
Converts genetic data to snpStats objects, generates p values via score tests, then runs coloc.abf