Description Usage Arguments Examples
add a series of projectors to transformed assay data in a SingleCellExperiment
1 2 | addProjections(sce, tx = function(x) log(x + 1), projectors,
assayind = 1, ...)
|
sce |
SingleCellExperiment instance |
tx |
function that will transform assay quantifications, defaults to 'function(x) log(x+1)' |
projectors |
a list of list of functions like that created |
assayind |
numeric(1) second argument ('i') to assay(), defaults to 1 |
... |
not used by 'defaultProjectors()' |
1 2 3 4 5 6 7 8 9 | if (interactive()) {
sce = sce300xx
reducedDims(sce) = NULL
ov = options()$verbose
options(verbose=TRUE)
sce = addProjections(sce, proj=defaultProjectors())
sce
options(verbose=ov) # restore
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.