Nothing
# Creating a common SCE for further operations.
set.seed(100)
sce <- mockSCE()
# Killing alternative Experiments for simplicity.
altExps(sce) <- NULL
# Generating a normalized SCE for specific methods.
normed <- logNormCounts(sce)
# Because SnowParam() is too slow, yet MulticoreParam() fails on Windows.
# See discussion at https://github.com/Bioconductor/BiocParallel/issues/98.
safeBPParam <- function(nworkers) {
if (.Platform$OS.type=="windows") {
BiocParallel::SnowParam(nworkers)
} else {
BiocParallel::MulticoreParam(nworkers)
}
}
# Adding a test to flush out any uncontrolled parallelization.
library(BiocParallel)
failgen <- setRefClass("FailParam",
contains="BiocParallelParam",
fields=list(),
methods=list())
FAIL <- failgen()
# register(FAIL) # TODO: once DelayedArray's %*% fix gets in.
library(DelayedArray)
setAutoBPPARAM(FAIL)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.