R/seuratFunctions.R
seuratICA.Rd
seuratICA Computes ICA on the input sce object and stores the calculated independent components within the sce object
seuratICA( inSCE, useAssay, reducedDimName = "seuratICA", features = NULL, nics = 20 )
inSCE | (sce) object on which to compute ICA |
---|---|
useAssay | Assay containing scaled counts to use in ICA. |
reducedDimName | Name of new reducedDims object containing Seurat ICA
Default |
features | Specify the feature names or rownames which should be used
for computation of ICA. Default is |
nics | Number of independent components to compute. Default |
Updated SingleCellExperiment
object which now contains the
computed independent components
data(scExample, package = "singleCellTK") if (FALSE) { sce <- seuratNormalizeData(sce, useAssay = "counts") sce <- seuratFindHVG(sce, useAssay = "counts") sce <- seuratScaleData(sce, useAssay = "counts") sce <- seuratICA(sce, useAssay = "counts") }