separate the figure
1
0
Entering edit mode
7 months ago
yueli7 ▴ 210

Hello,

I have figure like this:

Ia that possible I can separate the figure into three: 1. healthy control, 2. mild, 3. severe?

Thanks in advance for great help!

Beat,

Yue

DimPlot(Macrophage, reduction = "umap", group.by = "tech")


RNA-Seq • 209 views
0
Entering edit mode

What did you try ? It seems that you ask a lot of questions lately on scRNA-Seq data analysis. There is a lot of documentation on Seurat website.

3
Entering edit mode
7 months ago

The split.by argument will split them into separate plots based on the factors of the metadata column you give it.

DimPlot(Macrophage, reduction="umap", split.by="tech")

0
Entering edit mode

Hello rpolicastro,

Thank you so much for your great help!

Best,

Yue

0
Entering edit mode

Hello rpolicastro,

Thank you so much for your great help.

Is that possible can let the healthy_control as green color, mild as yellow color and severe as red color?

Best,

Yue

  DimPlot(Macrophage, reduction = "umap",cols = c("cornflowerblue","green3","orangered"),split.by = "tech")