plotRap-methods {ChIPQC} | R Documentation

## Generate reads in peaks plot

### Description

Generate reads in peaks plot.

### Methods

`signature(object = "ChIPQCexperiment", type="barstacked",facet=T, facetBy=c("Tissue","Factor"))`

  Generate reads in peaks plots for all the samples in an experiment.

`signature(object = "list", type="barstacked",facet=T, facetBy=c("Sample"))`

  Generate reads in peaks plots for all the samples in a list of ChIPQCsample objects.

`signature(object = "ChIPQCexperiment", type="barstacked",facet=T, facetBy=c("Tissue","Factor"))`

  Generate reads in peaks plots for all the samples in an experiment.

`signature(object = "ChIPQCsample",type="barstacked",facet=T, facetBy=c("Tissue","Factor"))`

  Generate reads in peaks plots for a sample.

### Note

plotRap uses `ggplot2` for plotting, and returns a `ggplot2` plot dataframe.

### Author(s)

Thomas Carroll and Rory Stark

### See Also

ChIPQC-package, ChIPQCexperiment, ChIPQCsample

### Examples

    data(example_QCexperiment)
    plotRap(exampleExp,facetBy=c("Tissue","Factor"))
    plotRap(QCsample(exampleExp,1))

[Package ChIPQC version 1.28.0 Index]