Description Usage Arguments Value References Examples
View source: R/runBatchCorrection.R
A general and flexible zero-inflated negative binomial model that can be used to provide a low-dimensional representations of scRNAseq data. The model accounts for zero inflation (dropouts), over-dispersion, and the count nature of the data. The model also accounts for the difference in library sizes and optionally for batch effects and/or other covariates.
| 1 2 3 4 5 6 7 8 9 10 | runZINBWaVE(
  inSCE,
  useAssay = "counts",
  batch = "batch",
  nHVG = 1000L,
  nComponents = 50L,
  epsilon = 1000,
  nIter = 10L,
  reducedDimName = "zinbwave"
)
 | 
| inSCE | SingleCellExperiment inherited object. Required. | 
| useAssay | A single character indicating the name of the assay requiring
batch correction. Note that ZINBWaVE works for counts (integer) input rather
than logcounts that other methods prefer. Default  | 
| batch | A single character indicating a field in
 | 
| nHVG | An integer. Number of highly variable genes to use when fitting
the model. Default  | 
| nComponents | An integer. The number of principle components or
dimensionality to generate in the resulting matrix. Default  | 
| epsilon | An integer. Algorithmic parameter. Empirically, a high epsilon
is often required to obtained a good low-level representation. Default
 | 
| nIter | An integer, The max number of iterations to perform. Default
 | 
| reducedDimName | A single character. The name for the corrected
low-dimensional representation. Will be saved to  | 
The input SingleCellExperiment object with
reducedDim(inSCE, reducedDimName) updated.
Pollen, Alex A et al., 2014
| 1 2 3 4 5 | data('sceBatches', package = 'singleCellTK')
## Not run: 
    sceCorr <- runZINBWaVE(sceBatches, nIter = 5)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.