allClassMeansToGR | R Documentation |
Convert allClassMeans table to GenomicRanges with absolute genomic coordinates and with methylation score at each position for each class and multiple replicates in the metadata columns (required for plotting with Gviz)
allClassMeansToGR(allClassMeans, regionGR, anchorPoint = "middle", dSMFwin = 1)
allClassMeans |
A long data frame of methylation or bincount values with columns for position, methylation frequency (methFreq), class and replicate. |
regionGR |
A genomic range for the region that is being plotted |
anchorPoint |
One of "middle" or "start": the position from which numbering starts |
dSMFwin |
Width of dSMF score window (default is 1bp) |
Returns a GenomicRanges object with absolute genomic coordinates and methylation score for different classes and replicates in mcols
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.