findGWASOverlaps: Find GWAS variants that are in high LD with QTL variants

Description Usage Arguments Value

View source: R/annot_gwas.R

Description

Find GWAS variants that are in high LD with QTL variants

Usage

1
2
findGWASOverlaps(gene_snp_pairs, gwas_catalog, vcf_file,
  max_distance = 1e+06, min_r2 = 0.6)

Arguments

gene_snp_pairs

QTL SNP and variant pairs (required columns: gene_id, snp_id)

gwas_catalog

GWAS catalog data_frame from the importGwasCatalog function (required columns: snp_id, chr, pos)

vcf_file

Genotype data

max_distance

maximal distance between the qtl variant and the GWAS variant

min_r2

Minimal R2 betweeb the QTL vairant and the GWAS variant

Value

data frame with GWAS and QTL overlaps


kauralasoo/seqUtils documentation built on May 20, 2019, 7:42 a.m.