globalScorePlot: Plot the PureCLIP score distribution after re-assignment

View source: R/PlotFunction.R

globalScorePlotR Documentation

Plot the PureCLIP score distribution after re-assignment

Description

A diagnostic function that plots the PureCLIP score distribution on a log2 scale after the re-assignment on binding site level. The function annotateWithScore is expected to be executed prior to calling this plot function.

Usage

globalScorePlot(object)

Arguments

object

a BSFDataSet object

Value

a plot of type ggplot

See Also

annotateWithScore

Examples

# load clip data
files <- system.file("extdata", package="BindingSiteFinder")
load(list.files(files, pattern = ".rda$", full.names = TRUE))
bds1 = makeBindingSites(object = bds, bsSize = 9)
bds1 = annotateWithScore(bds1, match.ranges = getRanges(bds))
globalScorePlot(bds1)


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