extendGRanges | R Documentation |
Extend(shrink) ranges of a GRanges object.
extendGRanges(OGREDataSet, name, upstream = 0, downstream = 0)
OGREDataSet |
An OGREDataSet |
name |
|
upstream |
|
downstream |
|
OGREDataSet
myOGRE <- makeExampleOGREDataSet() myOGRE <- loadAnnotations(myOGRE) #extend range by shifting start 100 bp in upstream direction myOGRE <- extendGRanges(myOGRE,"genes",upstream=100) #shrinking range by shifting end 100 bp in upstream direction myOGRE <- extendGRanges(myOGRE,"genes",downstream=-100) #shrinking range by shifting from both sides to the center myOGRE <- extendGRanges(myOGRE,"genes",upstream=-10,downstream=-10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.