Normalization and Scaling
MONASH�GENOMICS and
BIOINFORMATICS
PLATFORM
Counts Matrix
2
https://www.monash.edu/researchinfrastructure/mgbp
Normalisation
Cells can have differences in sequencing depth
3
https://www.monash.edu/researchinfrastructure/mgbp
Normalisation
Normalization is required to make gene expression comparable across cells. We also log-transform.
LogNormalize:
Feature counts for each cell are divided by the total counts for that cell and multiplied by the scale.factor. This is then natural-log transformed using log1p.
Log( Counts of Gene_A / Library Size Per Cell * scale.factor + 1)
4
https://www.monash.edu/researchinfrastructure/mgbp
Getting ready for PCA
Now we have expression levels on a log scale that we can start to analyse.
Our first form of analysis will be PCA.
5
https://www.monash.edu/researchinfrastructure/mgbp
Feature Selection
Select genes that have high variability to focus on interesting biological signal for downstream steps that aggregate or cluster cells based on similarity
Not all genes necessarily contain useful information, some contain random noise
Seurat’s strategy is to pick the topmost variable 2000 genes �
6
https://www.monash.edu/researchinfrastructure/mgbp
Centering and scaling
7
https://www.monash.edu/researchinfrastructure/mgbp
Scaling
Expression of some selected genes
8
https://www.monash.edu/researchinfrastructure/mgbp
Extra slides
9
https://www.monash.edu/researchinfrastructure/mgbp
Scaling
To find markers in a cell population you need to compare genes between them
Comparing genes between them when they have different spectrums of expression is challenging
10
https://www.monash.edu/researchinfrastructure/mgbp
Normalisation
Normalizing single-cell RNA sequencing data: challenges and opportunities. Nat Methods 14, 565–571 (2017)
Differences in sequencing coverage between cells due to technical effects (e.g amount of mRNA captured), as well as the volumes of the cells as they grow and divide.
Library size normalisation: divide counts in a cell by the total counts for that cell
Typically performed by multiplying by 10000 and log transformed in Seurat
Seurat also has SCTransform - regularised negative binomial model. (but see this paper)
11
https://www.monash.edu/researchinfrastructure/mgbp
Normalisation
Normalisation corrects for differences in this direction
12
https://www.monash.edu/researchinfrastructure/mgbp
Scaling
Scaling equalizes the amount of variation in each gene
13
https://www.monash.edu/researchinfrastructure/mgbp