Closed ashleymaeconard closed 3 years ago
Hi Ashley, Thank you trying ChIPpeakAnno. You may want to try following code to add gene symbols:
library(org.Dm.eg.db)
annoData$entrizID <- xget(names(annoData), org.Dm.egFLYBASE2EG, output = "first")
annoData$gene_name[!is.na(annoData$entrizID)] <- xget(annoData$entrizID[!is.na(annoData$entrizID)], org.Dm.egSYMBOL)
Let me know if you still have question.
Jianhong.
Thank you! This solves my problem, and thank you for your patience as I reply later than desired! I will close the issue.
Hello Jianhong,
I have enjoyed using ChIPpeakAnno however working with dm6, the annoData does not contain a gene name. This is prohibiting me from extracting useful information directly with the more interpretable gene symbol. I can certainly find another way to convert the Flybase IDs if needed, but your examples in the user guide suggest that you can get the gene_name directly. Please let me know what I need to do to get this information!
Thank you. Ashley