seuratIntegration: seuratIntegration A wrapper function to Seurat...

Description Usage Arguments Value

View source: R/seuratFunctions.R

Description

seuratIntegration A wrapper function to Seurat Batch-Correction/Integration workflow.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
seuratIntegration(
  inSCE,
  useAssay = "counts",
  batch,
  newAssayName = "SeuratIntegratedAssay",
  kAnchor,
  kFilter,
  kWeight,
  ndims = 10
)

Arguments

inSCE

Input SingleCellExperiment object that contains the assay to batch-correct.

useAssay

Assay to batch-correct.

batch

Batch variable from colData slot of SingleCellExperiment object.

newAssayName

Assay name for the batch-corrected ouput assay.

kAnchor

Number of neighbours to use for finding the anchors in the FindIntegrationAnchors function.

kFilter

Number of neighbours to use for filtering the anchors in the FindIntegrationAnchors function.

kWeight

Number of neighbours to use when weigthing the anchors in the IntegrateData function.

ndims

Number of dimensions to use. Default 10.

Value

A SingleCellExperiment object that contains the batch-corrected assay inside the altExp slot of the object


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