Closed Anto007 closed 3 years ago
Hi @Anto007 , I find this error strange. If you run the as.data.frame()
function, and assuming that there are duplicate rownames, the error should be thrown at that step, not after you run EnhancedVolcano()
. Can you confirm?
Apologies for not making this clear; the error indeed came up at the read.csv step. I got around the issue by going for read_csv
function instead from tidyverse
also by introducing a new header 'name' to column 1. I then used the following code to make EnhanceVolcano work:
EnhancedVolcano(df, lab=df$name, x="log2FoldChange", y="padj")
Thank you for your response!
I'm new to R and I'm trying to run R package EnhancedVolcano for generating a plot. My input csv file is a list of differentially expressed genes from DESeq2. The first column contains gene names that do not occur uniquely and so it continues to give
duplicate rownames error
. I hope there's a way to avoid this? My input csv file is available on DropboxThe code I tried is the below.
Any help here would be highly appreciated!