Description Usage Arguments Details Value Author(s) See Also Examples
Visualize genomic distribution of ChIP-seq peaks.
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)
|
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
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.