Hi, I am trying to make volcano plot using EnhancedVolcano: Publication-ready volcano plots with enhanced colouring and labeling and my data looks like as below:
head(db_P7_db_veh)
Gene_symbol log2FoldChange pvalue DEG
Cmklr1 0.9830351 1.08e-06 UP
Akirin2 -0.6085560 1.28e-05 DOWN
Tgm2 1.2431722 1.35e-05 UP
Atp11a 0.7794673 1.47e-05 UP
The code I used is:
EnhancedVolcano(db_P7_db_veh,
lab = rownames(db_P7_db_veh),
x = 'log2FoldChange',
y = 'pvalue' ,
selectLab = c('Fmo3','Rab3b', 'Gata5', 'Acta2'))
My question is that the code is making the plot but I am trying to add the gene labels for some of the genes as shown in the code but it is not plotting with the gene names as I needed. There is no error message also. So, if anyone can help me in that then it would be highly appreciated. Thanks in advance!
tagging Kevin Blighe
Thank you.