grTile: grTile

View source: R/genomicRegions.R

grTileR Documentation

grTile

Description

Tile each element in a GRanges object into equally-sized windows. If the length of an element is not divisible by the window-size, each element will be adjusted to match a multiple of the desired window-size

Usage

grTile(gr, tile.width = 200, keepMetadata = TRUE)

Arguments

gr

GRanges object to liftOver

tile.width

length of the tiling window

keepMetadata

Should the metadata columns for each element be preserved in the resulting object

Value

GRanges containing the tiling regions. Additional metadata columns named .orgIdx, .winIdx denote the indices of the original element and the window respectively


demuellae/muRtools documentation built on Nov. 6, 2024, 9:44 a.m.