junjunlab / scRNAtoolVis

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

Error in names(x) <- value. #5

Closed Knight1995 closed 2 years ago

Knight1995 commented 2 years ago

What a great jobs of jjDotPlot.Today,i wanna use my data to repeat the blog.When i conduct my code: jjDotPlot(scRNA1,gene=top10$gene) there is an error as follow: Error in names(x) <- value : 'names' attribute [101] must be the same length as the vector [99]. I would appreciate if anyone have an idea about it.

Knight1995 commented 2 years ago

Thanks for junjun's help.i solve this issue because my top10 markers have duplicate gene name.Again, thanks so much for the help from Junjun, and this amazing package!