Description Usage Arguments Details Value Author(s) Examples

Plot the observed distribution and the estimated distribution of the methylation patterns

1 | ```
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

1 2 3 4 5 | ```
data(patternsExample)
estimates <- estimatePatterns(patternsExample,
epsilon=0.02,
eta=0.01)
plotPatterns(estimates[[1]])
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.