R/seuratFunctions.R
seuratRunTSNE.RdseuratRunTSNE Computes tSNE from the given sce object and stores the tSNE computations back into the sce object
seuratRunTSNE( inSCE, useReduction = c("pca", "ica"), reducedDimName = "seuratTSNE", dims = 10, perplexity = 30, externalReduction = NULL, seed = 1 )
| inSCE | (sce) object on which to compute the tSNE |
|---|---|
| useReduction | selected reduction algorithm to use for computing tSNE.
One of "pca" or "ica". Default |
| reducedDimName | Name of new reducedDims object containing Seurat tSNE
Default |
| dims | Number of reduction components to use for tSNE computation.
Default |
| perplexity | Adjust the perplexity tuneable parameter for the underlying
tSNE call. Default |
| externalReduction | Pass DimReduc object if PCA/ICA computed through
other libraries. Default |
| seed | Random seed for reproducibility of results.
Default |
Updated sce object with tSNE computations stored