supportRatioPlot | R Documentation |
Function that shows a ratio to determine how well a given binding
site with is supported by the crosslink coverage of the data.
Ratios are computed using the supportRatio
function.
supportRatioPlot(object, bsWidths, bsFlank = NA, ...)
object |
a BSFDataSet object |
bsWidths |
a numeric vector indicating the different binding site width to compute the ratio for |
bsFlank |
optional; a numeric vector of the same length as
|
... |
further arguments passed to |
The higher the ratio, the more does the given binding site width captures the enrichment of crosslinks compared the the local surrounding. A ratio equal to 1 would mean no enrichemnt at all.
an object of class ggplot2
# load data
files <- system.file("extdata", package="BindingSiteFinder")
load(list.files(files, pattern = ".rda$", full.names = TRUE))
suppressWarnings(supportRatioPlot(bds, bsWidths = c(3,7),
minWidth = 1, minClSites = 1, minCrosslinks = 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.