Description Usage Arguments Value Examples
View source: R/seuratFunctions.R
seuratReductionPlot Plots the selected dimensionality reduction method
1 2 3 4 5 | seuratReductionPlot(
inSCE,
useReduction = c("pca", "ica", "tsne", "umap"),
showLegend = FALSE
)
|
inSCE |
(sce) object which has the selected dimensionality reduction algorithm already computed and stored |
useReduction |
Dimentionality reduction to plot. One of "pca", "ica", "tsne", or "umap". Default |
showLegend |
Select if legends should be shown on the output plot or not. Either "TRUE" or "FALSE". Default |
plot object
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 <- seuratPCA(sce, useAssay = "counts")
seuratReductionPlot(sce, useReductionPlot = "pca")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.