naming the UMAP cluster
1
0
Entering edit mode
7 months ago
orzrzlyo ▴ 20

Hi,

I'm trying to replicate an UMAP visualization from a paper.

I was able to draw the umap visualization through scanpy from python. Also, tried it with Seurat RunUMAP.

However, what I wanted was to find the name of each clusters such as the umap below. example UMAP visualization

I was able to find the marker genes with R FindALLMarkers.

Is naming the cluster manually the only solution?

Also, why are the UMAP visualization all different between the one i drew with scanpy, Seurat and the one from the paper?

Seurat scanpy UMAP • 477 views
ADD COMMENT
1
Entering edit mode
7 months ago

Is naming the cluster manually the only solution?

Yes and no. If you aim for the exact same cluster names to be assigned to the exact same cells, manual naming might be necessary. However, there are tools available for annotating one dataset using a reference dataset. By creating a reference object and subsequently mapping the query object using this reference, you can automate the process. Tools like singleR and scType may be helpful.

why are the UMAP visualization all different between the one i drew with scanpy, Seurat and the one from the paper?

what you observed can be because of various factors, like the use of different algorithms or parameter settings. Both Scanpy and Seurat utilize distinct algorithms, contributing to varying UMAP results. In Seurat, users can specify the method they prefer for UMAP generation using the RunUMAP() function. Options include "uwot" and "umap-learn," each employing different underlying algorithms. Scanpy employs the "umap-learn" method, the methods used in the paper you mentioned can be either of them or none. Using different algorithms or sometimes implementation of the same algorithm in different packages may lead to different visualizations.

ADD COMMENT

Login before adding your answer.

Traffic: 1704 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6