View source: R/methMatrixManipulation.R
convertGRtoRelCoord | R Documentation |
Convert a normal genomic ranges to one where the start and end are relative to some anchor point - either the middle or the start of the genomic ranges (e.g. -250 to 250, or 0 to 500). The original start end and strand are stored in the metadata.
convertGRtoRelCoord(grs, winSize, anchorPoint = "middle")
grs |
A GenomicRanges object to be converted to relative coordinates |
winSize |
The size of the window you wish to create |
anchorPoint |
One of "middle" or "start": the position from which numbering starts |
A GenomicRanges object with relative coordinate numbering
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.