duplicatedSitesPlot | R Documentation |
A diagnostic function that plots the number of crosslink sites with their
respective overlapping rate. The function pureClipGeneWiseFilter
is expected to be executed prior to calling this plot function.
duplicatedSitesPlot(object)
object |
a |
a plot of type ggplot
pureClipGeneWiseFilter
# 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])
# apply 5% gene-wise filter
bds = pureClipGeneWiseFilter(object = bds, anno.genes = gns, cutoff = 0.5,
overlaps = "keepSingle")
duplicatedSitesPlot(bds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.