Description Usage Arguments Details Value Author(s) See Also Examples
This function plots the coverage for the bisulfite sequencing data.
1 2 3 4 |
methylationData1 |
the methylation data in condition 1
(see |
methylationData2 |
the methylation data in condition 2
(see |
breaks |
a |
regions |
a |
conditionsNames |
a vector of character with the names of the conditions
for |
context |
the context in which the DMRs are computed ( |
proportion |
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 |
This function plots the proportion of cytosines in a specific context that have at least a certain number of reads (x-axis)
Invisibly returns NULL
Nicolae Radu Zabet
computeMethylationDataCoverage
,
methylationDataList
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # load the methylation data
data(methylationDataList)
# plot the coverage in CG context
par(mar=c(4, 4, 3, 1)+0.1)
plotMethylationDataCoverage(methylationDataList[["WT"]],
methylationDataList[["met1-3"]],
breaks = c(1,5,10,15), regions = NULL,
conditionsNames = c("WT","met1-3"),
context = c("CG"), proportion = TRUE,
labels = LETTERS, col = NULL,
pch = c(1,0,16,2,15,17), lty = c(4,1,3,2,6,5),
contextPerRow = FALSE)
## Not run:
# plot the coverage in all three contexts
plotMethylationDataCoverage(methylationDataList[["WT"]],
methylationDataList[["met1-3"]],
breaks = 1:15, regions = NULL,
conditionsNames = c("WT","met1-3"),
context = c("CG", "CHG", "CHH"),
proportion = TRUE, labels = LETTERS, col = NULL,
pch = c(1,0,16,2,15,17), lty = c(4,1,3,2,6,5),
contextPerRow = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.