plotFrip-methods {ChIPQC} | R Documentation

## Generate fraction of reads in peaks plot

### Description

Generate fraction of reads in peaks plot.

### Methods

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

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

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

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

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

  Generate fraction of reads in peaks plots for a sample.

### Note

plotFrip 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)
    plotFrip(exampleExp)
    plotFrip(QCsample(exampleExp,1))

[Package ChIPQC version 1.22.0 Index]