plotProfiles: Produce a TSS plot of the two conditions in the data

Description Usage Arguments Value Examples

Description

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.

Usage

1
2
3
## S4 method for signature 'DChIPRepResults'
plotProfiles(object, meanFunction = robust_mean,
  ...)

Arguments

object

a DChIPRepResults object after runTesting

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)

Value

a ggplot2 object

Examples

1
2
3
4
5
6
if (requireNamespace("mgcv", quietly=TRUE)) {
data(testData)
dcr <- DChIPRepResults(testData)
dcr <- runTesting(dcr)
plotProfiles(dcr)
}

b-klaus/DChIPRep documentation built on May 14, 2019, 11:15 a.m.