multicoloc2: Multiple colocalization, use case 2

Description Usage Arguments Details Value Author(s)

Description

Multiple colocalization, one (disease) analysis against a set of analysis/entity pairs.

Usage

1
2
3
multicoloc2(analysis1, target, chrom, pos_start, pos_end, pos, hgncid,
  ensemblid, rs, surround = 0, dbc = getOption("gtx.dbConnection",
  NULL), ...)

Arguments

analysis1

analysis id to colocalize

target

data frame with columns analysis and entity

chrom

other arguments used to determine region for coloc

Details

A second use case for multicoloc, is that a single analysis1 (and entity1 in future) is to be colocalized with a potentially large set of analysis2 (with or without entity2; not necessarily e/pQTL). The Motivating example is taking a top hit variant at a (disease) GWAS locus,PheWAS'ing it, and then testing colocalization with all the PheWAS hits.

Value

A data frame of analysis1 against each analysis/entity from target (called analysis2 and entity2) along with colocalization probabilities.

Author(s)

Toby Johnson Toby.x.Johnson@gsk.com


tobyjohnson/gtx documentation built on Aug. 30, 2019, 8:07 p.m.