I'm trying to make a volcano plot with the differential expression file generated from cellranger for single cell analysis.
I uploaded the file into RStudio and ran the following code...
EnhancedVolcano(res, lab = rownames(results), x = 'Log2foldchange', y = 'pvalue', xlim = c(-8,8), title = 'Macrophage', pCutoff = 10e-16, FCcutoff = 1.5, pointSize = 3.0, labSize = 3.0)
and received the following error...
Error in EnhancedVolcano(x, lab = rownames(x), x = "Log2foldchange", y = "pvalue", : Log2foldchange is not numeric!
I then ran:
is.numeric(results$gene.Log2foldchange.pvalue) and got TRUE.
Any guidance as to what to do?