Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Normalization

Introduction

In scRNA-seq experiments, stochastic technical factors (e.g., purification, reverse transcription, and sequencing) introduce non-biological variation in cell sequencing depth. Since this noise obscures true biological signals, normalization is a critical preprocessing step to scale raw counts and enable meaningful cell-to-cell comparisons Heumos et al., 2023.

Methods

There are three methods to technically normalize data in Seurat using the NormalizeData() command, which were used depends on the analysis purpose.

Count matrix

Relative counts (RC)

RCij=Cijk=1MCkj×F\text{RC}_{ij} = \frac{C_{ij}}{\sum_{k=1}^{M}{C_{kj}}} \times F

Relative count RCij\text{RC}_{ij} represents the expression proportion of a gene ii within an individual cell jj. To improve interpretability, a scale factor FF (defaulting to 10,000) is integrated into the calculation.

Log normalize (LogNormalize)

LNij=ln(RCij+1)\text{LN}_{ij} = \ln \left( \text{RC}_{ij} + 1 \right)

Hence the highly expressed genes possess mean, and variance much larger than low-expression genes Ahlmann-Eltze & Huber, 2023. To avoid data skewing in individual cell, a logarithmic transformation is employed.

Therefore logarithm transform is applied to convert multiplicative biological relationships into an additive scale, making fold-change comparisons far more effective. Noticeably, the addition of a pseudo-count (+1) serves as a mathematical guardrail to prevent undefined values for zeros.

Centered log ratio transformation (CLR)

{Xij=Cij+1CLRij=ln[1+Cij(k=1MXkj)1M]\begin{cases} X_{ij} = C_{ij} + 1 \\[1ex] \text{CLR}_{ij} = \ln \left[ 1 + \dfrac{C_{ij}}{\left(\prod_{k=1}^{M} X_{kj}\right)^{\frac{1}{M}}} \right] \end{cases}

While “Relative counts” and “Log normalize” introduce the proportion of gene expression in a cell, “Centered log ratio transformation” quantifies the scaled value by the geometric mean, which acts as the center data point.

XijX_{ij} is the shifted count guarding zero values when calculating the geometric mean (the denominator). The ln(x+1)\ln(x+1) layer is applied to compress the dynamic range and reduce the dominance of highly expressed genes.

Note that CLR can also be applied horizontally (across cells for an individual gene) by setting the margin value to 2.

Summary

MethodPurposeA-code
Relative countsConverts to gene expression proportion within a cellrc_normalise.R
Log normalize (default)Compresses the dynamic range to reduce the dominance of high-expression genes in relative countslog_normalise.R
Centered log ratio transformationMeasures the scaled value by the geometric meanclr_normalise.R

Besides three above methods which force the evenness across cells in normalised data, the SCTransform is introduced as an alternative approach by conducting statistic regression Choudhary & Satija, 2022.

References
  1. Heumos, L., Schaar, A. C., Lance, C., Litinetskaya, A., Drost, F., Zappia, L., Lücken, M. D., Strobl, D. C., Henao, J., Curion, F., Single-cell Best Practices Consortium, Aliee, H., Ansari, M., Badia-i-Mompel, P., Büttner, M., Dann, E., Dimitrov, D., Dony, L., Frishberg, A., … Theis, F. J. (2023). Best Practices for Single-Cell Analysis across Modalities. Nature Reviews Genetics, 24(8), 550–572. 10.1038/s41576-023-00586-w
  2. Ahlmann-Eltze, C., & Huber, W. (2023). Comparison of Transformations for Single-Cell RNA-seq Data. Nature Methods, 20(5), 665–672. 10.1038/s41592-023-01814-1
  3. Choudhary, S., & Satija, R. (2022). Comparison and Evaluation of Statistical Error Models for scRNA-seq. Genome Biology, 23(1), 27. 10.1186/s13059-021-02584-9