plotPatterns {MPFE} | R Documentation |
Plot the observed distribution and the estimated distribution of the methylation patterns
plotPatterns(compareData, yLimit1=NULL, yLimit2=NULL)
compareData |
data frame, obtained from the output of the function |
yLimit1 |
upper limit of y-axis on left hand scale of the first graph. If NULL, defaults to show all patterns |
yLimit2 |
upper limit of y-axis on left hand scale of the second graph. If NULL, defaults to show most patterns |
The two graphs in the output plot are the same but have different ranges. The parameters yLimit1 and yLimit2 control the range of the y_axis on the plots produced.
A plot that compares the observed read distribution with the estimated distribution.
Peijie Lin, Sylvain Foret, Conrad Burden
data(patternsExample) estimates <- estimatePatterns(patternsExample, epsilon=0.02, eta=0.01) plotPatterns(estimates[[1]])