reproducibilityFilterPlot: Plot to that shows the crosslink site distribution per...

View source: R/PlotFunction.R

reproducibilityFilterPlotR Documentation

Plot to that shows the crosslink site distribution per replicate

Description

A diagnostic function that plots the number of crosslinks sites over the number of crosslink in these sites and highlights the replicate specific reproducibility cutoff that is derived from that distribution. The function reproducibilityFilter is expected to be executed prior to calling this plot function.

Usage

reproducibilityFilterPlot(object, plotRange = 20)

Arguments

object

a BSFDataSet object

plotRange

numeric; number of crosslinks per sites that should be shown before summing them up

Value

a plot of type ggplot

See Also

reproducibilityFilter

Examples

# load clip data
files <- system.file("extdata", package="BindingSiteFinder")
load(list.files(files, pattern = ".rda$", full.names = TRUE))
bds = makeBindingSites(object = bds, bsSize = 9)
bds = reproducibilityFilter(bds)
reproducibilityFilterPlot(bds)


ZarnackGroup/BindingSiteFinder documentation built on May 31, 2024, 3:29 a.m.