Description Usage Arguments Details Value Author(s) Examples
SimpleIntegration
integrates Seurat objects using
either Seurat integration functions or
RunFastMNN
, a wrapper from SeuratWrappers
around
fastMNN
from batchelor. This is useful for removing batch effects.
It can take either a list of Seurat objects or a
meta.data
variable to split a single Seurat object by
prior to integration.
1 2 | SimpleIntegration(scrnas, split.by = NULL, method = c("Seurat", "MNN"),
vars.to.regress = NULL, n.features = 3000)
|
scrnas |
Either a list of Seurat objects or a single
Seurat object, the latter of which requires |
split.by |
String containing name of meta.data column to be used to split Seurat object into multiple samples. |
method |
String indicating method to be used. "Seurat" will use Seurat's
internal functions for SCT integration. "MNN" will use
|
vars.to.regress |
Vector of meta.data variables to be regressed out
during |
n.features |
Number of anchor features to use with
|
Performs SCTransform
on each Seurat object
individually prior to integration.
If method="MNN"
is used, SeuratWrappers
must be installed.
An integrated Seurat object with technical variation/batch effects removed from the individual samples.
Jared Andrews
1 2 3 4 5 6 | ## Not run:
library(Seurat)
# Will error due to too few cells.
pbmc.int <- SimpleIntegration(pbmc_small, split.by = "groups")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.