Hi everyone,
I am trying to plot Volcano plots for analysis mostly from Limma. I found 2 sources- one that labels points above certain thresholds of adjusted p values and logFC values and another one that uses the MarrayLM object as input and labels the top gene hits.
Here are the source links:
1) http://www.gettinggeneticsdone.com/2014/05/r-volcano-plots-to-visualize-rnaseq-microarray.html
2) http://web.mit.edu/~r/current/arch/i386_linux26/lib/R/library/limma/html/volcanoplot.html (can only be used for Limma I believe)
Is there a way I can label the top 20 most up-regulated genes and 20 most down-regulated genes as per LogFC values and also change the color of the points that represent them? Is it possible to only highlight points that meet certain conditions in different colors and to label them (as in Source 1) or to label the top gene hits only (as in Source 2)?
Thanks for all the help.
I used your code to make volcano plot from rna seq data i get this error im not sure what it is can you tell me ?
If you followed the example by Turner you, the data frame res have a column with the name Gene.
You hence have to supply a vector with gene names from your own data.
Thank you, I shall try this out!