Description Usage Arguments Value Examples

This function plots the positionwise mean of the two conditions after
`runTesting`

has been run on a `DChIPRepResults`

object. The points corresponding
to significant
positions are colored black in both of the conditions.
The function returns the plot as a `ggplot2`

object that can be modified afterwards.

1 2 3 | ```
## S4 method for signature 'DChIPRepResults'
plotSignificance(object,
meanFunction = robust_mean, lfdrThresh = 0.2, ...)
``` |

`object` |
a |

`meanFunction` |
a function to compute the positionwise mean per group, defaults to a Huber estimator of the mean. |

`lfdrThresh` |
Threshold for the local FDR |

`...` |
additional parameters for plotting (NOT YET IMPLEMENTED) |

a `ggplot2`

object

1 2 3 4 | ```
data(testData)
dcr <- DChIPRepResults(testData)
dcr <- runTesting(dcr)
plotSignificance(dcr)
``` |

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.