R/runSCGEN.R
runSCGEN.RdscGen is a generative model to predict single-cell perturbation response across cell types, studies and species. It works by combining variational autoencoders and latent space vector arithmetics for high-dimensional single- cell gene expression data.
runSCGEN( inSCE, useAssay = "logcounts", batch = "batch", cellType = "cell_type", nEpochs = 50L, assayName = "SCGEN" )
| inSCE | SingleCellExperiment inherited object. Required. |
|---|---|
| useAssay | A single character indicating the name of the assay requiring
batch correction. Default |
| batch | A single character indicating a field in
|
| cellType | A single character. A string indicating a field in
|
| nEpochs | An integer. Algorithmic parameter, the number of epochs to
iterate and optimize network weights. Default |
| assayName | A single characeter. The name for the corrected assay. Will
be saved to |
The input SingleCellExperiment object with
assay(inSCE, assayName) updated.
Lotfollahi, Mohammad et al., 2019