View source: R/methMatrixManipulation.R
getRelativeCoordMats | R Documentation |
Convert C position numbering from genomic to relative coordinates for a list of matrices
getRelativeCoordMats( matList, regionGRs, regionType, anchorCoord = 0, workDir = "." )
matList |
A table of paths to methylation matrices with names that match the regionGRs object |
regionGRs |
A genomicRanges object of the regions relative to which the new coordinates are caclulated with a metadata column called "ID" containing names that match the methylation matrices in matList |
regionType |
A collective name for this list of regions (e.g TSS or amplicons). It will be used in naming the output directories. |
anchorCoord |
The coordinate which will be set as the 0 position for relative coordinates (default=0) |
workDir |
path to working directory |
A list of methylation matrices that have been converted from abslute genomic coordinates to relativepositions within the genomicRanges regionGRs. regionGRs on the negative strand will be flipped to be in the forward orientation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.