View source: R/methMatrixManipulation.R
changeAnchorCoord | R Documentation |
Change the anchor coordinate
changeAnchorCoord(mat, anchorCoord = 0)
mat |
A methylation matrix |
anchorCoord |
The coordinate which will be set as the 0 position for relative coordinates (default=0) |
A methylation matrix in which the column names have been changed to indicate relative position with reference to the anchor coordinate. e.g. a 500bp matrix centered around the TSS can have its column names changed from 0 to 500 range to -250 to 250 range by setting anchorCoord=250.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.