Description Usage Arguments Value See Also Examples
This function calls sctransform::get_residuals.
1 | GetResidual(object, features, assay = "SCT", verbose = TRUE)
|
object |
A seurat object |
features |
Name of features to add into the scale.data |
assay |
Name of the assay of the seurat object generated by SCTransform |
verbose |
Whether to print messages and progress bars |
Returns a Seurat object containing pearson residuals of added features in its scale.data
1 2 | pbmc_small <- SCTransform(object = pbmc_small, variable.features.n = 20)
pbmc_small <- GetResidual(object = pbmc_small, features = c('MS4A1', 'TCL1A'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.