reproducibilitySamplesPlot: UpSet-plot to that shows how each replicate supports binding...

View source: R/PlotFunction.R

reproducibilitySamplesPlotR Documentation

UpSet-plot to that shows how each replicate supports binding sites

Description

A diagnostic function that plots the set sizes for each replicate, indicating how many binding site the specific replicate supports given its specific threshold. The function reproducibilityFilter is expected to be executed prior to calling this plot function.

Usage

reproducibilitySamplesPlot(
  object,
  nIntersections = 20,
  show.title = TRUE,
  text.size = NULL
)

Arguments

object

a BSFDataSet object

nIntersections

numeric; number of intersection to be shown

show.title

logical; if plot title should be visible

text.size

numeric; fontsize of all numbers on axis

Value

a plot of type ggplot

See Also

reproducibilityFilter, reproducibilityFilterPlot

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)
reproducibilitySamplesPlot(bds)


ZarnackGroup/BindingSiteFinder documentation built on May 2, 2024, 12:38 a.m.