pheatmap needs to be manually added to plot heatmaps
0
0
Entering edit mode
@muadabdelhay-14075
Last seen 10 months ago

On SingleR_1.0.5 running plotScoreHeatmap(pred.sce) outputs following error and plots a corrupt heatmap:

Error in UseMethod("depth") : 
  no applicable method for 'depth' applied to an object of class "NULL"

running library(pheatmap) (pheatmap_1.0.12) resolves the issue

singler bug • 134 views
ADD COMMENT
0
Entering edit mode

Sorry for the delay.

In v1.0.5 (and pretty nearly still), pheatmap::pheatmap() was called only at the very end of the function. So this issue sounds ultimately like a pheatmap bug.

Anyway, SingleR is a few versions later now, but I can try to help find the root of this bug if you can give me more details.

First, do you still get the bug in SingleR_1.2.0? Second, can you provide a reproducible example along with your sessionInfo()?

ADD REPLY

Login before adding your answer.

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