separate the figure
1
0
Entering edit mode
4.2 years ago
yueli7 ▴ 250

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")

Screenshot-from-2020-09-03-05-10-56

RNA-Seq • 2.2k views
ADD COMMENT
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.

ADD REPLY
3
Entering edit mode
4.2 years 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")
ADD COMMENT
0
Entering edit mode

Hello rpolicastro,

Thank you so much for your great help!

Best,

Yue

ADD REPLY
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?

Thank you in advance for your great help!

Best,

Yue

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

Screenshot-from-2020-09-03-23-01-40

ADD REPLY

Login before adding your answer.

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