I've gotten nice Enhancedvolcano plots using DESEQ2 results but I have filtered out some genes and created a new data frame. When I run Enhancedvolcano on my new data frame, the gene labels show up as row numbers rather than the gene ID. I've tried lab = rownames(filtered$Row.names) but it produces an error.
I've gotten nice Enhancedvolcano plots using DESEQ2 results but I have filtered out some genes and created a new data frame. When I run Enhancedvolcano on my new data frame, the gene labels show up as row numbers rather than the gene ID. I've tried
lab = rownames(filtered$Row.names)
but it produces an error.Here is my data frame:
`> filtered <-as.data.frame(filtered)
EnhancedVolcano(toptable = filtered, lab = rownames(filtered), x = 'log2FoldChange', y = 'pvalue', pCutoff = 0.01, FCcutoff = .5, xlim = c(-6, 6), ylim = c(-6, 6))
Thank you for your help!