-1
$\begingroup$

I have a Seurat object of four cancers and four controls

> colnames(pbmc@meta.data)
 [1] "orig.ident"       "nCount_RNA"       "nFeature_RNA"     "samples"         
 [5] "Condition"        "Gender"           "percent.mt"       "nCount_SCT"      
 [9] "nFeature_SCT"     "SCT_snn_res.0.75" "seurat_clusters"  "SCT_snn_res.0.5" 
> unique(pbmc@meta.data$Condition)
[1] "control" "cancer" 
> 

enter image description here

I want to have a heat map of differentially expressed between cancers and controls like figure 3A in this paper

https://www.frontiersin.org/articles/10.3389/fgene.2020.610682/full

enter image description here

Do you have any idea please how I can do that? I've looked at the integration tutorial, but can't find the heatmap in it.

$\endgroup$
0
1
$\begingroup$

See the DoHeatmap function in Seurat, which seems to be what that paper has used:

https://satijalab.org/seurat/articles/pbmc3k_tutorial.html#cb50

> DoHeatmap(pbmc, features = myGeneList, group.by="Condition")
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.