kevinblighe / EnhancedVolcano

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

Warning messages: 1: In FUN(X[[i]], ...) : NaNs produced #52

Closed archana433 closed 4 years ago

archana433 commented 4 years ago

EnhancedVolcano(res5, lab = rownames(res5), y = 'log2FoldChange', x = 'padj', selectLab = c("Zyx","Yes1","Wasf2","Vegfc"), title = 'Custom shape & colour over-ride', pCutoff = 0.05, FCcutoff = 0.5, pointSize = keyvals.size, labSize = 4.0, shapeCustom = keyvals.shape, colCustom = keyvals.shape, colAlpha = 1, legendPosition = 'right', legendLabSize = 15, legendIconSize = 5.0, drawConnectors = TRUE, widthConnectors = 0.5, colConnectors = 'grey50', gridlines.major = FALSE, gridlines.minor = FALSE, border = 'full', borderWidth = 1.0, borderColour = 'grey')

when I exchanged the x axis with y axis , I am getting these warning - Warning messages: 1: In FUN(X[[i]], ...) : NaNs produced 2: Removed 1 rows containing missing values (geom_vline). Screenshot from 2020-07-12 22-01-49

kevinblighe commented 4 years ago

Hi, see here: https://www.biostars.org/p/449017/#449022

archana433 commented 4 years ago

Thank you