Description Usage Arguments Value Author(s) See Also Examples
This function plots the low resolution profiles for all bisulfite sequencing data.
1 2 3 4 5 |
methylationData1 |
the methylation data in condition 1
(see |
methylationData2 |
the methylation data in condition 2
(see |
regions |
a |
conditionsNames |
the names of the two conditions. This will be used to plot the legend. |
context |
a |
windowSize |
a |
autoscale |
a |
labels |
a |
col |
a |
pch |
the R symbols used to plot the data It needs to contain a minimum
of 2 symbols per condition. If not or if |
lty |
the line types used to plot the data. It needs to contain a
minimum of 2 line types per condition. If not or if |
contextPerRow |
a |
Invisibly returns NULL
Nicolae Radu Zabet
plotMethylationProfile
,
computeMethylationProfile
and methylationDataList
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # load the methylation data
data(methylationDataList)
#plot the low resolution profile at 10 Kb resolution
par(mar=c(4, 4, 3, 1)+0.1)
plotMethylationProfileFromData(methylationDataList[["WT"]],
methylationDataList[["met1-3"]],
conditionsNames=c("WT", "met1-3"),
windowSize = 20000, autoscale = TRUE,
context = c("CHG"))
## Not run:
#plot the low resolution profile at 5 Kb resolution
par(mar=c(4, 4, 3, 1)+0.1)
plotMethylationProfileFromData(methylationDataList[["WT"]],
methylationDataList[["met1-3"]],
conditionsNames=c("WT", "met1-3"),
windowSize = 5000, autoscale = TRUE,
context = c("CG", "CHG", "CHH"),
labels = LETTERS)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.