Gene symbols and IDs in R and problem with clinical details
Hi everyone,
I'm trying to work with GSE48350 but, when i want take the ids and the symbol, R give me back an error:
p=row.names(mygcrma)
s = unlist(get(p, hgu133ahsentrezgSYMBOL))
Error in unlist(get(p, hgu133ahsentrezgSYMBOL)) :
error in evaluating the argument 'x' in selecting a method for function 'unlist': Error in .checkKeys(value, Lkeys(x), x@ifnotfound) :
value for "1007_s_at" not found
ID = unlist(mget(p, hgu133ahsentrezgENTREZID))
Error in unlist(mget(p, hgu133ahsentrezgENTREZID)) :
error in evaluating the argument 'x' in selecting a method for function 'unlist': Error in .checkKeys(value, Lkeys(x), x@ifnotfound) :
value for "1007_s_at" not found
Can you help me? :)
Edit,
I've another problem when i try to download the clinical details;
GSE48350_clindata=getGSEDataTables("GSE48350")
GSE48350_clindata
list()
length(GSE48350_clindata)
[1] 0
Thanks
• 4,332 views
•
link
1 answer
Answering your second question first, GSE48350 has no GSE Data Tables, so the result you are getting is correct. The sample metadata are usually included with the ExpressionSet that is available via getGEO:
eset = getGEO("GSE48350")[[1]]
head(pData(eset))
As for the feature annotation, you are using an older approach, but to answer your question directly, I'm not sure where you got hgu133ahsentrezg, but the library you need is hgu133plus2 and this should work:
ID = unlist(mget(featureNames(eset),hgu133plus2SYMBOL))
• 0 views
•
link
Log in to answer this question.
What is the new approach? :)
Edit:
I think that in your reply you mean
hgu133plus2hsentrezgSYMBOLand nothgu133aplus2SYMBOL, but it still does not work.Try adding
ifnotfound=NAto themget()call. The new approach is to useselect(). See the AnnotationDBI vignette for details.