Dear Mr/Miss,
I am using your R script, GeneAnswer for GO and KEGG pathway analysis. I met a problem about how to transfer Arabidopsis gene id to EntrzGeneID. I donot know if your script work on Arabidopsis. I have tried the example data from human genome. It is work well.
I use my Arabidopsis data that the error file is following as:
[1] "geneInput has built in ..."
Error in geneAnswersBuilder(sdgGeneInput, "org.At.tair.db", categoryType = NULL, :
Annotation library can not be recognized! Abort GeneAnswers Building ...
If I want to use Arabidopsis GO analysis, How I should change my data set?
Thank you very much,
Fuyou
Botany and Plant Pahtology Department
Purdue University
Dear Fufuyou,
please excume me but i forgot to also mention earlier regarding your problem of " I met a problem about how to transfer Arabidopsis gene id to EntrzGeneID". If you mean Arabidopsis gene ids which have the following form: i.e. "AT2G33040"
then you should make something like the following:
ls("package:org.At.tair.db")
keys(org.At.tair.db)
columns(org.At.tair.db)
[1] "TAIR" "CHRLOC" "CHRLOCEND" "ENZYME" "PATH"
[6] "PMID" "REFSEQ" "SYMBOL" "GENENAME" "GO"
[11] "EVIDENCE" "ONTOLOGY" "GOALL" "EVIDENCEALL" "ONTOLOGYALL"
[16] "ARACYC" "ARACYCENZYME" "ENTREZID" "CHR"
then for instance, if you have an example vector of Arabidopsis gene ids(if like the form from above):
example.ids <- c("AT2G35450", "AT2G35460", "AT2G35470", "AT2G35480" ,"AT2G35490" ,"AT2G35500")
res <- select(org.At.tair.db, example.ids, "ENTREZID")
and then you should have the ENTREZIDs for the arabidopsis gene ids you have used as an input
I hope this works