markers to define a cell population in a single UMAP
0
0
Entering edit mode
4.3 years ago
Morris_Chair ▴ 350

Hello guys,

I'm doing single cells analysis using Seurat pipeline and after the cluster distribution (UMAP) I found markers unregulated and downregulated in each of them. I want to know if it's possible to define in a single UMAP plot a specific cluster by including or excluding specific markers for example:

Cluster 1: A+B+C- Cluster 2 A+B-C+ Cluster 3 A-B+C+

Does exist a code that when I give the information (A+B-C+) automatically defines and shows in UMAP the cluster 2?

Or is it possible represent all of three markers in only one plot?

Thanks for help

RNA-Seq scRNA-seq Seurat • 1.8k views
ADD COMMENT
1
Entering edit mode

Can you explain a bit more? Do you want to make a new clustering with all cells (or only some cells?) based on these genes? Or do you want to color cells by gene expression? I do not really understand.

ADD REPLY
0
Entering edit mode

Hi ATpoint,

I want to make a new clustering with all cells based on three selected genes.

Thank you

ADD REPLY
0
Entering edit mode

It is possible to use custom dimensional reductions in Seurat, please check https://satijalab.org/seurat/v3.0/dim_reduction_vignette.html

Storing a custom dimensional reduction calculation is the passage you probably want. This then would include only the genes you want. Not discussing if a clustering based on three genes actually makes sense (in fact I do not know).

ADD REPLY
0
Entering edit mode

ok sorry I was not clear, I don't have to make a UMAP only using three genes but I want to show where the cells that express this genes are located. For example if I have three population of cells in the UMAP and the population 2 is A+ B- C+, I want to show cells A+ and C+ instead of two separated UMAP with a single marker A and C

ADD REPLY
0
Entering edit mode

This is quite old, but there's always the magick package where you can make overlays of the two plots, in the worst case scenario. You can create a feature map showing the genes you want, and have that overlayed with high transparency on the UMAP clustering you want. To get the dimensions to match well, you'd either have to extract and configure the legends yourself or just plot these both w/ no legend.

ADD REPLY

Login before adding your answer.

Traffic: 1966 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