Learn R Programming

groHMM (version 1.6.0)

limitToXkb: limitToXkb truncates a set of genomic itnervals at a constant, maximum size.

Description

limitToXkb truncates a set of genomic itnervals at a constant, maximum size.

Usage

limitToXkb(features, offset = 1000, size = 13000)

Arguments

features
A GRanges object representing a set of genomic coordinates. The meta-plot will be centered on the start position.
offset
Starts the interval from this position relative to the start of each genomic features.
size
Specifies the size of the window.

Value

Returns GRanges object with new genomic coordiates.

Examples

Run this code
tx <- GRanges("chr7", IRanges(1000, 30000), strand="+")
newTX <- limitToXkb(tx)

Run the code above in your browser using DataLab