View source: R/seuratFunctions.R
plotSeuratJackStraw | R Documentation |
plotSeuratJackStraw Computes the plot object for jackstraw plot from the pca slot in the input sce object
plotSeuratJackStraw(
inSCE,
dims = NULL,
xmax = 0.1,
ymax = 0.3,
externalReduction = NULL
)
inSCE |
(sce) object from which to compute the jackstraw plot (pca should be computed) |
dims |
Number of components to plot in Jackstraw. If |
xmax |
X-axis maximum on each QQ plot. Default |
ymax |
Y-axis maximum on each QQ plot. Default |
externalReduction |
Pass DimReduc object if PCA/ICA computed through
other libraries. Default |
plot object
data(scExample, package = "singleCellTK")
## Not run:
sce <- runSeuratNormalizeData(sce, useAssay = "counts")
sce <- runSeuratFindHVG(sce, useAssay = "counts")
sce <- runSeuratScaleData(sce, useAssay = "counts")
sce <- runSeuratPCA(sce, useAssay = "counts")
sce <- runSeuratJackStraw(sce, useAssay = "counts")
plotSeuratJackStraw(sce)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.