View source: R/methMatrixManipulation.R
getRelativeCoord | R Documentation |
Convert C position numbering from genomic to relative coordinates
getRelativeCoord(mat, regionGR, invert = F)
mat |
A methylation matrix |
regionGR |
A genomicRanges object of the region relative to which the new coordinates are caclulated |
invert |
A logical variable to indicate if the region should be inverted (e.g. if it is on the negative strand). Default: FALSE |
A methylation matrix in which the column names have been changed from absolute genomic positions to relative positions within the genomicRange regionGR
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.