seuratComputeJackStraw {singleCellTK} | R Documentation

## seuratComputeJackStraw Compute jackstraw plot and store the computations in the input sce object

### Description

seuratComputeJackStraw Compute jackstraw plot and store the computations in the input sce object

### Usage

    seuratComputeJackStraw(inSCE, useAssay, dims = NULL)

### Arguments

`inSCE` | (sce) object on which to compute and store jackstraw plot
`useAssay` | Assay containing scaled counts to use in JackStraw calculation.
`dims` | Number of components to test in Jackstraw. If `NULL`, then all components are used. Default `NULL`.

### Value

Updated `SingleCellExperiment` object with jackstraw computations stored in it

### Examples

    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")

    ## End(Not run)

[Package singleCellTK version 2.0.0 Index]