addWithinSubject: Add column to indicate that query lies within at least one...

Description Usage Arguments Value

View source: R/GRangesFunction.R

Description

Add column to indicate that query lies within at least one subject object.

Usage

1
addWithinSubject(query, subject, colName = "inRegion")

Arguments

query

A GRanges object

subject

A GRanges object

colName

A single string that is used as columnname for the new annotation column in query.

Value

A GRanges object like query with an additioanl column of logical values indicating whehter each range is within one range in subject or not.


ibn-salem/genepair documentation built on May 18, 2019, 1:30 a.m.