junjunlab / scRNAtoolVis

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

Without rownames in jjDotPlot #51

Open FelixZ95 opened 1 month ago

FelixZ95 commented 1 month ago

Good jobs! When I run following code, there are two issues:

jjDotPlot(object =scRNA, gene = as.character(unique(top10$gene)), id = 'celltype', split.by = 'group', dot.col = color3) dev.off()

  1. If class(top10$gene) is 'factor', it will warn, 'Warning: Could not find Sox1 in the default search locations'. Maybe you can add as.factor in your source code; I think it will be better.
  2. My output pdf has no rownames, as follows: image

Thanks!

junjunlab commented 3 weeks ago

Send me your data and code, I will have a try.