You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
being quite new to R I am struggling with the following problem:
I have prepared a comma-delimited Excel file (.csv) with gene expression data: first column Gene Symbol, second column FC as described.
It the looks like this (first three rows):
ID,FC
CXCL3,12.95135115
MMP3,12.40100107
IL6,11.1025565
Then I run:
d <- read.csv("C:/users/kirsch/Desktop/clusterprofiler.csv")
geneList = d[,2]
names(geneList) = as.character(d[,1])
geneList = sort(geneList, decreasing = TRUE)
gene <- names(geneList)[abs(geneList) > 2]
ggo <- groupGO(gene = gene,
OrgDb = org.Hs.eg.db,
ont = "CC",
level = 3,
readable = TRUE)
#and get the error: Error in .testForValidKeys(x, keys, keytype, fks) :
None of the keys entered are valid keys for 'ENTREZID'. Please use the keys method to see a listing of valid arguments
I guess I miss something important or just do not understand enough to solve the problem. Maybe someone can help.
Thanks and ebst,
Matthias
The text was updated successfully, but these errors were encountered:
Dear Clusterprofiler-Team,
being quite new to R I am struggling with the following problem:
I have prepared a comma-delimited Excel file (.csv) with gene expression data: first column Gene Symbol, second column FC as described.
It the looks like this (first three rows):
ID,FC
CXCL3,12.95135115
MMP3,12.40100107
IL6,11.1025565
Then I run:
d <- read.csv("C:/users/kirsch/Desktop/clusterprofiler.csv")
geneList = d[,2]
names(geneList) = as.character(d[,1])
geneList = sort(geneList, decreasing = TRUE)
gene <- names(geneList)[abs(geneList) > 2]
ggo <- groupGO(gene = gene,
OrgDb = org.Hs.eg.db,
ont = "CC",
level = 3,
readable = TRUE)
#and get the error: Error in .testForValidKeys(x, keys, keytype, fks) :
None of the keys entered are valid keys for 'ENTREZID'. Please use the keys method to see a listing of valid arguments
I guess I miss something important or just do not understand enough to solve the problem. Maybe someone can help.
Thanks and ebst,
Matthias
The text was updated successfully, but these errors were encountered: