geneOverlapsPlot | R Documentation |
A diagnostic function that plots the gene types of binding sites on overlapping
loci genes. The function assignToGenes
is expected to be
executed prior to calling this plot function.
geneOverlapsPlot(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
assignToGenes
targetGeneSpectrumPlot
# load clip data
files <- system.file("extdata", package="BindingSiteFinder")
load(list.files(files, pattern = ".rda$", full.names = TRUE))
# Load GRanges with genes
load(list.files(files, pattern = ".rds$", full.names = TRUE)[1])
bds = makeBindingSites(object = bds, bsSize = 9)
bds = assignToGenes(bds, anno.genes = gns)
geneOverlapsPlot(bds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.