kevinblighe / EnhancedVolcano

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

Adding label to the cutoff vline #36

Closed Aanchal85 closed 4 years ago

Aanchal85 commented 4 years ago

I had been trying to add a label of cutoff by using the command - vline=c(-6, 6),label = c(-6,6), but it says unused argument and nothing happens to the plot labels. Any help regarding this? Thank you.

kevinblighe commented 4 years ago

Hey, I think that you can do this via geom_text(...). I give an example in the vignette for one of my other Bioc packages (scroll down a bit to the Scree plot): https://github.com/kevinblighe/PCAtools#determine-optimum-number-of-pcs-to-retain

kevinblighe commented 4 years ago

Let me know if that works (or not).