kevinblighe / EnhancedVolcano

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

geom_hline/vline warnings with ylim/xlim zoom #129

Open jayoung opened 4 months ago

jayoung commented 4 months ago

hi there,

I love EnhancedVolcano - thank you!

I have an unimportant request - if I use xlim or ylim to zoom far enough that the dashed horizontal or vertical lines would not be shown, I get warnings. I can suppress them, but I fear not being able to see warnings that are actually useful to me.

Using your airway data example, you'll see the warnings if you do this:

EnhancedVolcano(res,
                lab = rownames(res),
                x = 'log2FoldChange',
                y = 'pvalue',
                ylim=c(0,3),
                xlim=c(-0.5,0.5))

thanks!

Janet Young

Fred Hutch Cancer Center, Seattle, WA, USA