This is the program written to convert the Entrez IDs into Gene Name using R. But the problem i am encountering is
Error in .checkKeysAreWellFormed(keys) :
keys must be supplied in a character vector with no NAs
The program:
a <- read.csv("C:\\list.csv", header = FALSE)
a2 <- a[!is.na(a)]
for(i in 1:length(a))
{
if(is.na(a[i])==TRUE)
{
next;
} else {
a2<-c(a2,a[i]);
a3 <-lookUp(a2, 'org.Hs.eg', 'SYMBOL')
}
}
And the list looks like this: (list.csv)
5921,9315,10175,58155,1112,1974,2033,2309,3015,3192,5217,5411,5527,6660,8125,9743,10439,11174,23077,23097,26520,56929,84146,109,1073,1783,1809,1839,3169,3187,3768,4857,5066,5496,5594,5683,5885,6328,7490
Where is the problem?