I'm having an issue how to convert data. Actually, I have data file which contains tons of gene sets and genes as follows.
GO.1 GO.2 ...
Here, each column (gene set) contains a list of genes which are annotated on corresponding gene set. The number means ENTREZ ID of specific annotated gene. I'm trying to convert ENTREZ ID to Official gene symbol and then make output file from it. What am I supposed to do for it?
I know there are various ways to convert like this.
library(annotate) library(org.Hs.eg.db) lookUp('811','org.Hs.eg','SYMBOL') $`811`  "CALR"
But, I don't have any idea to read text file and convert data and then write it.