Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

coloc.abf.snpStats

Bayesian colocalisation analysis using snpStats objects


Description

Bayesian colocalisation analysis using snpStats objects

Usage

coloc.abf.snpStats(X1, X2, Y1, Y2, snps = intersect(colnames(X1),
  colnames(X2)), type1 = c("quant", "cc"), type2 = c("quant", "cc"),
  s1 = NA, s2 = NA, ...)

Arguments

X1

genetic data for dataset 1

X2

genetic data for dataset 2

Y1

response for dataset 1

Y2

response for dataset 2

snps

optional subset of snps to use

type1

type of data in Y1, "quant" or "cc"

type2

type of data in Y2, "quant" or "cc"

s1

the proportion of samples in dataset 1 that are cases (only relevant for case control samples)

s2

the proportion of samples in dataset 2 that are cases (only relevant for case control samples)

...

parameters passed to coloc.abf

Details

Generates p values via score tests, then runs coloc.abf

Value

output of coloc.abf

Author(s)

Chris Wallace


coloc

Colocalisation Tests of Two Genetic Traits

v3.2-1
GPL
Authors
Chris Wallace [aut, cre], Claudia Giambartolomei [aut], Vincent Plagnol [ctb]
Initial release
2019-05-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.