Entering edit mode
3 months ago
ashkan
▴
160
I am trying to sort the genes (blue and grey dots) in each column in my dotplot and put the blue ones together and grey one together in each column (which means per sample). what argument should I add to the following command? the dotplot is made for DEGs between conditions.
DotPlot(mydata, features = rev(as.character(unique(top20_sub$gene))), group.by = "orig.ident", assay = "RNA") + coord_flip() + RotatedAxis()