View source: R/runBatchCorrection.R
runSCANORAMA | R Documentation |
SCANORAMA is analogous to computer vision algorithms for panorama stitching that identify images with overlapping content and merge these into a larger panorama.
runSCANORAMA(
inSCE,
useAssay = "logcounts",
batch = "batch",
assayName = "SCANORAMA",
SIGMA = 15,
ALPHA = 0.1,
KNN = 20,
approx = TRUE
)
inSCE |
Input SingleCellExperiment object |
useAssay |
A single character indicating the name of the assay requiring
batch correction. Scanorama requires a transformed normalized expression
assay. Default |
batch |
A single character indicating a field in |
assayName |
A single characeter. The name for the corrected assay. Will
be saved to |
SIGMA |
A numeric scalar. Algorithmic parameter, correction smoothing
parameter on Gaussian kernel. Default |
ALPHA |
A numeric scalar. Algorithmic parameter, alignment score
minimum cutoff. Default |
KNN |
An integer. Algorithmic parameter, number of nearest neighbors to
use for matching. Default |
approx |
Boolean. Use approximate nearest neighbors, greatly speeds up
matching runtime. Default |
The input SingleCellExperiment object with
assay(inSCE, assayName)
updated.
Brian Hie et al, 2019
## Not run:
data('sceBatches', package = 'singleCellTK')
logcounts(sceBatches) <- log1p(counts(sceBatches))
sceCorr <- runSCANORAMA(sceBatches, "ScaterLogNormCounts")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.