This is a test version of Biostars. For the public version, visit https://www.biostars.org.
separate the figure

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

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.

1 answer

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

Hello rpolicastro,

Thank you so much for your great help!

Best,

Yue

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

Log in to answer this question.