PCA and CCA from Scratch. How Seurat moves cell labels from a reference to a query and puts two datasets together, rebuilt by hand in R and checked against Seurat at every step.
Included with Practical scRNA-seq Analysis with R and with both course bundles. It is not sold separately.
Already enrolled in the scRNA-seq course? It is in your account. Open the course

Can you say what they did to your data?
FindTransferAnchors() and TransferData() give every cell a label and a score. When a label looks wrong, the function names don't tell you where to look: the genes, the scaling, the neighbors, the anchors or the weights. This course opens both functions and rebuilds each step by hand on two public PBMC datasets, then checks the result against Seurat. Our PCA comes out identical to RunPCA(), our CCA matches RunCCA() to 14 decimal places, and 9,972 of the 10,020 anchors we find by hand in the CCA space are exactly Seurat's.
RunPCA()TransferData() weights themRunCCA()Text you can search and code that runs, on real data. Self-paced. Every lesson ends with two exercises and worked solutions. Open a lesson to see what it covers.
Free preview Lesson 1, The reference, the query and the question, is open to everyone. Read it now
Read this lesson free, no sign-up





You use Seurat, and you have run FindTransferAnchors() and TransferData() or are about to. The labels came out, and you could not say why a cell got the label it got. You know basic R. You do not need to remember your linear algebra: if you can read A %*% B, you can follow every lesson.
It follows chapter 4, Cell annotation, of Practical scRNA-seq Analysis with R.

Dr. Ming "Tommy" Tang, Director of Bioinformatics in Big Pharma. He trained in a wet lab during his PhD, then spent over ten years in computational biology, including leading the bioinformatics analysis for large clinical trials at Dana-Farber Cancer Institute. This course grew from two posts on his blog, Diving into Genetics and Genomics, checked line by line against Seurat's own source code.
Enroll in Practical scRNA-seq Analysis with R and you get its five chapters and this course: one payment, lifetime access and every update.
If you sign up and feel the course isn't right for you, email within seven days for a full refund.
Enroll in the scRNA-seq courseSee everything the scRNA-seq course covers.
Also included in both course bundles: see the bundles.
Already bought a course and want a bundle? Reply to your receipt and I'll credit what you paid.
No. It comes with Practical scRNA-seq Analysis with R and with both course bundles. If you have any of them, it is in your account now.
No. Log in at learn.chatomics.com with your purchase email and open the course.
Take it after chapter 4, Cell annotation. That chapter uses the two Seurat functions; this course shows what is inside them. Lesson 1 is free, so you can check the level before you enroll.
Matrix multiplication. Every formula is followed by code that tests it, and the lessons point to the best places to learn more linear algebra.
The one-click RStudio in the browser that comes with the scRNA-seq course has every package this course uses except one, which takes one line to install. On your own computer, the Welcome page lists the packages and how to download the two data files (182 MB).
Right on the lesson: every section has a button to ask about it and to read what classmates already asked. I answer there.