Description Usage Arguments Value Author(s) Examples
tileGRanges returns a set of genomic regions by sliding the windows in a given step. Each window is called a "tile".
1 | tileGRanges(targetRegions, windowSize, step, keepPartialWindow = FALSE, ...)
|
targetRegions |
A GRanges object of genomic regions of interest. |
windowSize |
Size of windows |
step |
Step of windows |
keepPartialWindow |
Keep last partial window or not. |
... |
Not used. |
A GRanges object.
Jianhong Ou
1 2 3 4 5 6 7 8 | genes <- GRanges(
seqnames = c(rep("chr2L", 4), rep("chr2R", 5), rep("chr3L", 2)),
ranges = IRanges(c(1000, 3000, 4000, 7000, 2000, 3000, 3600,
4000, 7500, 5000, 5400),
width=c(rep(500, 3), 600, 900, 500, 300, 900,
300, 500, 500),
names=letters[1:11]))
se <- tileGRanges(genes, windowSize=50, step=10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.