diffGR: Perform the difference of two GRanges objects with gene...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/diffGR.R

Description

The function discard the overlapped regions of two GRanges objects from the first objects for the same gene.

Usage

1
diffGR(gr1, gr2, by = "transcript_id")

Arguments

gr1, gr2

GRanges objects with annotation in their elementMetatdata.

by

The gene annotation where to perform the difference.

Value

The result returns a GRanges objects which is within gr1 but not overlapped with gr2 in each annotated level.

Author(s)

Qiang Hu

See Also

setdiff

Examples

1
2
3
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

qRNASeq documentation built on May 2, 2019, 4:26 p.m.