imputeBsDifferencesForTestdata | R Documentation |
A function that works only on the test data set provided with the package. It is used for internal testing and the making of examples to showcase the differential binding functions.
imputeBsDifferencesForTestdata(object, size = 5, change.per = 0.1)
object |
a |
size |
numeric; the number of positions on which signal should be deleted, counting from the start |
change.per |
numeric; the percentage of ranges that should be effected by the change. |
Differences between samples are artificially introduced by removing the signal on a random set of binding sites of the input.
object a BSFDataSet
object with the signal slot adapted
to reflect changes in binding between two artificial conditions
# load clip data
files <- system.file("extdata", package="BindingSiteFinder")
load(list.files(files, pattern = ".rda$", full.names = TRUE))
load(list.files(files, pattern = ".rds$", full.names = TRUE)[1])
bds = makeBindingSites(bds, bsSize = 7)
bds = assignToGenes(bds, anno.genes = gns)
bds = imputeBsDifferencesForTestdata(bds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.