5
$\begingroup$

What makes tSNE being the preferred dimensional reduction for visualization in single cell RNA-seq over PCA?

I am aware that tSNE works better at showing local structures and fails to capture global structures of the data.

But I think I don't fully get the reason of why is this an advantage? It offers better resolution? Or better separation of the cells as compared to PCA?

$\endgroup$
1
  • 1
    $\begingroup$ They are often stacked together, i.e. first PCA then tSNE. They do quite different things. $\endgroup$
    – M__
    Commented May 28, 2019 at 12:38

1 Answer 1

11
$\begingroup$

tSNE often offers better visual representation (separation) on such complicated data than PCA. As Micheal pointed out, computing a tSNE embedding over 20.000 gene dimensions is computationally unfeasible, so a number of PCs are normally calculated and these are used as input for calculating the tSNE. They are used in tandem.

As for global vs. local, we are much more interested to see similarity of cells to a limited number of neighbours indicating a celltype and grouping these close together. This is more important than the distance between such celltypes. (assuming the separation in your tSNE is driven by a biologically meaningful factor such as celltype and not some confounder)

Edit:

Since I just made these images for myself anyway I might as well post them. The first 2 PCs show some separation by celltype, tSNE computed over 100 PCs gets very nice separation.

$\endgroup$
4
  • 2
    $\begingroup$ UMAP is another dimensionality reduction algorithm that better respects global structure. $\endgroup$
    – GWW
    Commented May 28, 2019 at 14:32
  • 1
    $\begingroup$ Alse checkout sleepwalk which helps you see where your embedding works well and where it doesn't anders-biostat.github.io/sleepwalk $\endgroup$ Commented May 30, 2019 at 9:34
  • $\begingroup$ Woooaaa this a quite a dramatic demonstration. Only one upvote per post ... pity $\endgroup$
    – M__
    Commented Jun 4, 2019 at 11:50
  • $\begingroup$ Woaaw! Super clear now! $\endgroup$
    – plat
    Commented Jun 4, 2019 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.