addOverlappingPeaks: Add overlapping ATAC peaks to a credible set of QTL variants

Description Usage Arguments Value

View source: R/qtl_classify_peaks.R

Description

Add overlapping ATAC peaks to a credible set of QTL variants

Usage

1
addOverlappingPeaks(qtl_credible_set, atac_peak_metadata, extend = 0)

Arguments

qtl_credible_set

Data frame with credible set of QTL variants (columns: snp_id, chr, pos)

atac_peak_metadata

Data frame of start end coordinates of ATAC peaks (columns: gene_id, chr, start, end, strand)

extend

Number of bp added to peak start and end coordinates to increase the chance of finding an overlap.

Value

Modifed qtl_credible_set data frame with added overlap_peak_id column.


kauralasoo/seqUtils documentation built on Sept. 24, 2018, 1:11 a.m.