This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Monocle3 - gene expression dot plot (ggplot2 equivalent)

It looks like if you run plot_genes_by_group function in monocle3, it generates a gene expression dot plot for expression of top marker genes per partition/cluster. But does anyone know if there is a way to perform the same type of graph using ggplot2 where the dots for 0 expression don't show up as much (hardly) and only dots for 25, 50, and 75% expression show up?

Original:

monocle3 gene expression dot plot

Desired:

monocle3 desired dot plot

The monocle3 software performs single-cell RNA-seq analysis on cell dataset objects so if there is some additional wrangling that needs to be performed on this object before it can be analyzed in ggplot, then that's fine with me too.

Just curious if anyone had any thoughts on this. Thanks.

monocle3 ggplot2 data-visualization

Instead of recreating it yourself you can try to change the colour pallet to achieve the look you are looking for. As the function returns a ggplot object, you can use + scale_color_gradientn(colors = c("white","blu")) (or whatever colours)

agree with fracarb8 , you just need to set proper colour & transparency

0 answers

No answers yet.

Log in to answer this question.