seurat-creating heatmaps
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:
• 1,004 views
•
link
1 answer
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", ...)
• 0 views
•
link
Log in to answer this question.