seurat-creating heatmaps
1
0
Entering edit mode
13 months ago
odi ▴ 10

I have three tables (results from differential expression in seurat): Table 1 is for mutant 1 vs WT Table 2 is for mutant 2 vs WT Table 3 is for mutant 3 vs WT

I would like to create a heatmap that shows all the genes combined(mutant 1 + mutant2 + mutant3) and is grouped by the mutants (mutant 1, mutant2 and mutant 3). So, something like this: instead of cluster though, i want it to be divided by mutant 1, 2 and 3

seurat heatmaps • 564 views
ADD COMMENT
1
Entering edit mode
13 months ago
fracarb8 ★ 1.7k

That figure was generated using seurat's DoHeatmap. Assuming mutant1,mutant2,mutant3 are the lists of genes and mutants is an existing column in your seurat meta.data table, you can:

genes_2_include <- c(mutant 1,mutant2,mutant3)
DoHeatmap(object, features = genes_2_include, group.by = "mutants", ...)
ADD COMMENT

Login before adding your answer.

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