seuratJackStrawPlot: seuratJackStrawPlot Computes the plot object for jackstraw...

Description Usage Arguments Value Examples

View source: R/seuratFunctions.R

Description

seuratJackStrawPlot Computes the plot object for jackstraw plot from the pca slot in the input sce object

Usage

1
seuratJackStrawPlot(inSCE, dims = NULL)

Arguments

inSCE

(sce) object from which to compute the jackstraw plot (pca should be computed)

dims

Number of components to plot in Jackstraw. If NULL, then all components are plotted Default NULL.

Value

plot object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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")
sce <- seuratComputeJackStraw(sce, useAssay = "counts")
seuratJackStrawPlot(sce)

## End(Not run)

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