scRNAtoolVis icon indicating copy to clipboard operation
scRNAtoolVis copied to clipboard

AverageHeatmap() function in Seurat v5

Open ziyuan-ma opened this issue 1 month ago • 1 comments

Hello, thanks for developing this wonderful visualization package! I have encountered some issues passing the Seurat v5 object to AverageHeatmap() function. Could you please advise how should I pull data from the data layer instead of from slot? Thank you!

> AverageHeatmap(object = pbmc,
+                markerGene = markers$gene)
As of Seurat v5, we recommend using AggregateExpression to perform pseudo-bulk analysis.
This message is displayed once per session.
Warning: No layers found matching search pattern provided
[1] "Your cluster annotation color is:" "#B969E5FF"                         "#BD94EDFF"                        
[4] "#E6C0FBFF"                         "#E477F5FF"                         "#FFC8CEFF"                        
[7] "#B8FD8AFF"                         "#7CF8E1FF"                        
Warning message:
The `slot` argument of `AverageExpression()` is deprecated as of Seurat 5.0.0.
ℹ Please use the `layer` argument instead.
ℹ The deprecated feature was likely used in the Seurat package.
  Please report the issue at <https://github.com/satijalab/seurat/issues>.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated. 

ziyuan-ma avatar May 10 '24 20:05 ziyuan-ma