limitToXkb: limitToXkb truncates a set of genomic intervals at a...

Description Usage Arguments Value Author(s) Examples

View source: R/limitToXkb.R

Description

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

Usage

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

Arguments

features

A GRanges object representing a set of genomic coordinates.

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 coordinates.

Author(s)

Minho Chae and Charles G. Danko

Examples

1
2
3
library(GenomicRanges)
tx <- GRanges("chr7", IRanges(1000, 30000), strand="+")
newTX <- limitToXkb(tx)

coregenomics/groHMM documentation built on May 7, 2019, 7:57 a.m.