seuratICA: seuratICA Computes ICA on the input sce object and stores the...

Description Usage Arguments Value Examples

View source: R/seuratFunctions.R

Description

seuratICA Computes ICA on the input sce object and stores the calculated independent components within the sce object

Usage

1
seuratICA(inSCE, useAssay, reducedDimName = "seuratICA", nics = 20)

Arguments

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 seuratICA.

nics

Number of independent components to compute. Default 20.

Value

Updated SingleCellExperiment object which now contains the computed independent components

Examples

1
2
3
4
5
6
7
8
data(scExample, package = "singleCellTK")
## Not run: 
sce <- seuratNormalizeData(sce, useAssay = "counts")
sce <- seuratFindHVG(sce, useAssay = "counts")
sce <- seuratScaleData(sce, useAssay = "counts")
sce <- seuratICA(sce, useAssay = "counts")

## End(Not run)

singleCellTK documentation built on Nov. 8, 2020, 5:21 p.m.