Variance Stabilizing Transformations for Single Cell UMI Data

A normalization method for single-cell UMI count data using a variance stabilizing transformation. The transformation is based on a negative binomial regression model with regularized parameters. As part of the same regression framework, this package also provides functions for batch correction, and data correction. See Hafemeister and Satija (2019) , and Choudhary and Satija (2022) for more details.


sctransform

R package for normalization and variance stabilization of single-cell RNA-seq data using regularized negative binomial regression

The sctransform package was developed by Christoph Hafemeister in Rahul Satija's lab at the New York Genome Center and described in Hafemeister and Satija, Genome Biology 2019. Recent updates are described in (Choudhary and Satija, Genome Biology, 2022). Core functionality of this package has been integrated into Seurat, an R package designed for QC, analysis, and exploration of single cell RNA-seq data.

Quick start

Installation:

# Install sctransform from CRAN
install.packages("sctransform")

# Or the development version from GitHub:
remotes::install_github("satijalab/sctransform", ref="develop")

Running sctransform:

# Running sctransform on a UMI matrix
normalized_data <- sctransform::vst(umi_count_matrix)$y
# v1 regularization
normalized_data <- sctransform::vst(umi_count_matrix, vst.flavor="v1")$y

# Running sctransform on a Seurat object
seurat_object <- Seurat::SCTransform(seurat_object)
# v1 regularization
seurat_object <- Seurat::SCTransform(seurat_object, vst.flavor="v1")

Help

For usage examples see vignettes in inst/doc or use the built-in help after installation
?sctransform::vst

Available vignettes:

Please use the issue tracker if you encounter a problem

References

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("sctransform")

0.4.3 by Saket Choudhary, 9 months ago


https://github.com/satijalab/sctransform


Report a bug at https://github.com/satijalab/sctransform/issues


Browse source code at https://github.com/cran/sctransform


Authors: Christoph Hafemeister [aut] (ORCID: , Saket Choudhary [aut, cre] (ORCID: , Rahul Satija [ctb]


Documentation:   PDF Manual  


GPL-3 | file LICENSE license


Imports dplyr, magrittr, MASS, Matrix, methods, future.apply, future, parallelly, ggplot2, reshape2, rlang, gridExtra, matrixStats

Suggests irlba, testthat, knitr

Enhances glmGamPoi

Linking to RcppArmadillo, Rcpp

System requirements: C++17


Imported by Seurat, spatialGE.

Suggested by RESET, VAM.


See at CRAN