SetOverlaps: Assign variants to features

Description Usage Arguments Value

View source: R/funcivar.R

Description

Assign variants to features

Usage

1
SetOverlaps(variants, features)

Arguments

variants

a VCF or GRanges object representing variants to annotate

features

a GRanges or GRangesList object representing features used to annotate variants.

Value

returns the variants object that was passed as an argument, VCF objects have overlaps stored in rowRanges(), GRanges have overlaps stored in mcols(), ShowOverlaps() can be used to reveal this data.


Simon-Coetzee/funcivar documentation built on Aug. 2, 2021, 9:55 a.m.