| pureClipGlobalFilter | R Documentation |
Function that applies a filter on the global crosslink site score distribution.
The GenomicRanges contained in the BSFDataSet need to
have a meta-column that holds a numeric score value, which is used for filtering.
The name of the column can be set with match.score.
pureClipGlobalFilter(
object,
cutoff = 0.01,
match.score = "score",
quiet = FALSE
)
object |
a |
cutoff |
numeric; defines the cutoff for which sites to keep, the smallest step is 1% (0.01) |
match.score |
character; meta column name of the crosslink site
|
quiet |
logical; whether to print messages |
The function is part of the standard workflow performed by BSFind.
an object of class BSFDataSet with its ranges filtered
by those that passed the threshold set with cutoff
BSFind, pureClipGlobalFilterPlot
# load data
files <- system.file("extdata", package="BindingSiteFinder")
load(list.files(files, pattern = ".rda$", full.names = TRUE))
# apply 5% filter
pureClipGlobalFilter(object = bds, cutoff = 0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.