Clustering and Differential Expression
Introduction to Single Cell RNA-Seq (45)
Timothy Tickle
Brian Haas
Agenda (Clustering and Differential Expression)
Making Sense of Variation
Identifying Relevant, “Highly Variable” Genes
Variable Genes in Seurat
Calculate mean expression.
Calculate disperstion (standard deviation).
Calculate z-score for dispersions within each bin.
Stratifies and controls from the relationship between the variability and mean expression.
Default�Standard�Deviation
Dimensionality Reduction
•Start with many measurements (high dimensional).
•One way is to extract features based on capturing groups of variance.
•Another could be to preferentially select some of the current features.
•We need this to plot the cells in 2D (or ordinate them)
•In scRNA-Seq PC1 may be complexity or technical.
Dimensionality Reduction
PCA: Overview
•Eigenvectors of covariance matrix.
•Find orthogonal groups of variance.
•Given from most to least variance.
PCA: an Interactive Example
PCA: in Practice
Things to be aware of-
•Data with different magnitudes will dominate.
•(Standardized).
•Can be affected by outliers.
•Data is often first filtered to remove noise.
PCs
Notice how lower PCs look more and more “spherical” - this loss of structure indicates that the variation captured by these PCs mostly reflects noise.
How Many Components Should We Use?
Elbow Plot (Scree Plot)
t-SNE: Collapsing the Visualization to 2D
t-SNE: Nonlinear Dimensionality Reduction
t-SNE: How it Works
Visualizing t-SNE
PCA and t-SNE Together
•Often t-SNE is performed on PCA components
Plotting Metadata on Ordinations
Metadata
Gene Expression
✅
X
✅
X
Caution When Interpreting t-SNE
Nonlinear�Optimized for local distanct
Big clusters can just mean more cells.
Learn More About t-SNE
•Awesome Blog on t-SNE parameterization
•Publication
•Nice YouTube Video
•Code
•Interactive Tensorflow
Defining Clusters Through Graphs
Local Moving Heuristic
Agenda (Clustering and Differential Expression)
Differential Expression
Differential Expression Analysis
Soneson and Robinson, 2017
Many of the DE methods developed for bulk RNA-seq (e.g. edgeR, DE-seq) have serious limitations when applied to scRNA-seq data because of dropouts, so apply with caution!
Single Cell Differential Expression (SCDE)
Singe Cell Differential Expression (SCDE)
SCDE is Much More Sensitive and Specific
One of the disadvantages of SCDE is its run-time, which does not scale well for large datasets. Newer methods like MAST (Finak et al., 2016) overcome this!
MAST
•Uses hurdle model
•CDR: Cellular detection rate
Additionally introduces a�GSEA method
https://github.com/RGLab/MAST
MAST: Hurdle Models
Dot Plots
Size of circle
•Gene prevalence in cluster.
•More red, more expressed in cluster.
Seurat: Differential Expression
•Default if one cluster again many tests.
•Adding speed by excluding tests.
Seurat: Many Choices of DE
Bimod�- Tests differences in mean and proportions.
Roc�- Uses AUC like definition of separation.
T�- Student's T-test.
Tobit�- Tobit regression on a smoothed data.
MAST�- Hurdle model for zero inflated data
….
Section Summary
We motivated dimensionality reduction with the helpfulness of focusing on higher variability.
We explored several methods for dimensionality reduction.
Explored differential expression.