scRNAtoolVis icon indicating copy to clipboard operation
scRNAtoolVis copied to clipboard

Error in dimnames(x) <- dn : 'dimnames'的长度[2]必需与陈列范围相等

Open TangentDeng opened this issue 2 years ago • 1 comments

hi, great job! I get a seurat object with GSVA result by irGSVA.

ht1 <- AverageHeatmap(object = seurat,assays = 'UCell',group.by = 'celltype',slot = 'data',
                      markerGene = c("GOBP-.....-PROCESS",      
                                     "GOBP-....-PROCESS",           
                                     "GOBP-....-PATHWAY"))
Error in dimnames(x) <- dn : 'dimnames'的长度[2]必需与陈列范围相等

I search and can't get a solve. Could you give some ideas? THANKS

TangentDeng avatar Dec 04 '22 14:12 TangentDeng

Maybe AverageHeatmap not support GSVA results.

junjunlab avatar Dec 05 '22 01:12 junjunlab