junjunlab / scRNAtoolVis

Useful functions to make your scRNA-seq plot more cool!
Other
258 stars 27 forks source link

jjDotPlot Error #34

Closed zhongguozhiwang closed 9 months ago

zhongguozhiwang commented 9 months ago

你好,感谢开发了这么棒的工具。 我在使用jjDotPlot进行排序绘图时一直报错,请问可能是什么问题呢。 `

table(all.inte$temp) 11 7 Bcells cancer DC Endothelials Epi Fibroblasts Macrophages Monocytes Neutrophils NKT Tcells

ma <- c('Ptprc', 'Itgam', 'Lyz2', 'C1qc', 'Hmga2', 'Anxa1', 'Myc') cr <- c('cancer', 7, 1, 'Macrophages', 'Monocytes', 'DC', 'Tcells', 'NKT', 'Bcells', 'Neutrophils', 'Endothelials', 'Fibroblasts', 'Epi') Idents(all.inte) <- all.inte$temp jjDotPlot(object = all.inte, gene = ma, cluster.order = cr, ytree = F, assay = 'RNA') Aggregation function missing: defaulting to length Error in .rowNamesDF<-(x, value = value) : 'row.names'里不允许有遗漏值 `