plotGenomicAnnot {transcriptR} | R Documentation |
Visualize genomic distribution of ChIP-seq peaks.
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)
object |
A |
plot.type |
|
xlab |
|
ylab |
|
color |
A character vector of length four, specifying colors for distinct genomic features (TSSs, exons, introns, intergenic regions). |
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.
ggplot2 object.
Armen R. Karapetyan
### 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")