Description Usage Arguments Value Examples
Do a single molecule plot of dSMF data
1 2 3 | plotSingleMoleculesAmp(mat, regionName, regionGRs, featureGRs = c(),
myXlab = "CpG/GpC position", featureLabel = "TSS", title = NULL,
baseFontSize = 12)
|
mat |
A methylation matrix |
regionName |
The name of the region to be plotted (usually gene name). Must match Ids in reagionGRs |
regionGRs |
Genomic Ranges which include region to be plotted (ID metadata column must match regionName) |
featureGRs |
Genomic Ranges of any features of interest (e.g. TSS) that you wish to be plotted as vertical red line |
myXlab |
Text to be used for X axis label (default="CpG/GpC position") |
featureLabel |
Text to be used to label special feature you are plotting (default="TSS") |
title |
Text to be used as plot title (default=NULL will results in the plot named accorind to the regionGR) |
baseFontSize |
The base font size to be used for the plot (default is 12) |
A ggplot2 plotting object
1 | plotSingleMoleculesAmp(methMat,"ttTi5605",ttTi5605gr,featureGRs=c(),myXlab="CpG position",featureLabel="TSS",title=NULL,baseFontSize=12)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.