plotProfiles {DChIPRep} | R Documentation

## Produce a TSS plot of the two conditions in the data

### 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

    ## 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

    if (requireNamespace("mgcv", quietly=TRUE)) {
    data(testData)
    dcr <- DChIPRepResults(testData)
    dcr <- runTesting(dcr)
    plotProfiles(dcr)
    }

[Package DChIPRep version 1.14.0 Index]