expandGRanges | R Documentation |
Expands genomic ranges of a GRanges object. All ranges will be expanded at both ends by width
.
expandGRanges(x, width = 2000)
x |
an object of the class GRanges. |
width |
an integer specifying how much to expand the ranges. |
Returns an expanded GRanges object.
Rehrauer, Hubert
Schmid, Peter
GRanges
x = GRanges(c("chr1", "chr1", "chr2"), IRanges(5000:5002, 8000:8002), strand=c("+", "-", "+"))
expandGRanges(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.