transcriptRegionOverlapsPlot | R Documentation |
A diagnostic function that plots the transcript regions of binding sites
on overlapping loci. The function assignToTranscriptRegions
is expected to be
executed prior to calling this plot function.
transcriptRegionOverlapsPlot(object, text.size = NULL, show.title = TRUE)
object |
a |
text.size |
numeric; fontsize of all numbers on axis |
show.title |
logical; if plot title should be visible |
a plot of type ggplot
assignToTranscriptRegions
transcriptRegionSpectrumPlot
# load clip data
files <- system.file("extdata", package="BindingSiteFinder")
load(list.files(files, pattern = ".rda$", full.names = TRUE))
load(list.files(files, pattern = ".rds$", full.names = TRUE)[1])
load(list.files(files, pattern = ".rds$", full.names = TRUE)[2])
bds = makeBindingSites(object = bds, bsSize = 9)
bds = assignToGenes(bds, anno.genes = gns)
bds = assignToTranscriptRegions(object = bds, anno.transcriptRegionList = regions)
transcriptRegionOverlapsPlot(bds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.