Generating DotPlot using "split.by", Average Expression fix #9605
Unanswered
RosalinSimpson
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The current DotPlot examples for v5 show that when using split.by you will only receive the Percent Expressed figure legend.
When using this function myself, if I specify the colour during the DotPlot function with "split.by" it will generate the Average Expression legend. This is using the code:
DotPlot(seurat_obj, split.by ="Treatment", cols = "RdBu", features = genelist)
I noticed an old issue post about a work around for this and when following this method I receive the same figure as the code I used above.
The same expression patterns are shown when I examine VlnPlots for the same genes, so I was wondering if this is suitable? Is the Average Expression generated for the above figures "truthful" or are they not accurate when specifying the "cols" in DotPlot.
Using Seurat v5.1.0
Beta Was this translation helpful? Give feedback.
All reactions