plotGenomicAnnot-methods: plotGenomicAnnot

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Visualize genomic distribution of ChIP-seq peaks.

Usage

1
2
3
4
5
6
plotGenomicAnnot(object, plot.type = c("distrib", "enrich"), xlab, ylab,
  color)

## S4 method for signature 'ChipDataSet'
plotGenomicAnnot(object, plot.type = c("distrib",
  "enrich"), xlab, ylab, color)

Arguments

object

A ChipDataSet object.

plot.type

Character. One of ("distrib", "enrich"). Default: "enrich".

xlab

Character. Title of the x-axis.

ylab

Character. Title of the y-axis.

color

A character vector of length four, specifying colors for distinct genomic features (TSSs, exons, introns, intergenic regions).

Details

Genomic distribution of the peaks can be visualized in two ways, either by observing the total number of peaks overlapping given genomic feature or by looking at the enrichment levels.

Value

ggplot2 object.

Author(s)

Armen R. Karapetyan

See Also

constructCDS

Examples

1
2
3
4
5
6
7
8
### Load ChipDataSet object
data(cds)

### Plot the total number of peaks overlapping distinct genomic features
plotGenomicAnnot(object = cds, plot.type = "distrib")

### Plot enrichment of the peaks at a given genomic feature (e.g. TSS)
plotGenomicAnnot(object = cds, plot.type = "enrich")


Search within the transcriptR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.