plotProfiles {DChIPRep} | R Documentation |
This function plots the positionwise mean of the log2 of the normalized
counts of the two conditions
after runTesting
has been run on a DChIPRepResults
object.
## S4 method for signature 'DChIPRepResults' plotProfiles(object, meanFunction = robust_mean, ...)
object |
a |
meanFunction |
a function to compute the positionwise mean per group, defaults to a Huber estimator of the mean. |
... |
additional parametes for plotting (NOT YET IMPLEMENTED) |
a ggplot2
object
if (requireNamespace("mgcv", quietly=TRUE)) { data(testData) dcr <- DChIPRepResults(testData) dcr <- runTesting(dcr) plotProfiles(dcr) }