kevinblighe / EnhancedVolcano

Publication-ready volcano plots with enhanced colouring and labeling
397 stars 81 forks source link

Option for custom colAlpha or overlaying points in a certain order #86

Closed kimsjune closed 2 years ago

kimsjune commented 2 years ago

Hi,

This is an amazing tool. I had one idea that might help with visualization. I made a custom colour key where each colour represents a gene set. As you can see, it's easy to see purple ones as they are sparsely distributed. Blues and reds are not great as they are hidden behind the grey ones. Is there a way to either explicitly plot a given "selectLab" on top of the rest OR have more than one "colAlpha" such that the grey background ones can be more transparent? It seems the only other option is to make the points smaller, but it becomes really difficult to see them. enhvolc.pdf

kimsjune commented 2 years ago

Actually, one easy solution is to just make the unannotated points smaller by adjusting pointSize with the same ifelse function. This is basically what I was looking for. soln.pdf