Enhanced volcano plot - Over-ride colouring scheme with custom key-value pairs for both log2FC and p value
I am trying to obtain volcano plot for deseq2 results. I tried Enhanced volcano plot package.
It was easy to follow, however I wish to obtain different colors for up and down regulated genes. Custom over-ride example was easy to plot based on log2FC. However it does not take pvalue cutoff into account.
How to obtain different colour for genes with pvalue cutoff of 10e-16 and log2FC? Kindly suggest an answer!
• 1,465 views
•
link
1 answer
Hi, when you are creating the custom colour named vector, you just need to make use of extra operators, like & (AND) or | (OR).
Kevin
• 0 views
•
link
Log in to answer this question.