I was trying to map a list of genes to Oryza sativa (rice) KEGG pathways using pathview R package. But failed to map genes. I followed this tutorial.
For example, the code below
library("pathview")
geneList<-read.table("genes.txt",header=T,sep="\t")
pathway <- pathview(gene.data = geneList,
pathway.id = "00195",
gene.idtype = "RAPDB",
species = "Oryza sativa japonica"
)
with the input "genes.txt"
Os03t0659266-00
Os04t0473150-00
Should map input genes to a specific pathway. But showing error
Error in pathview(gene.data = geneList, pathway.id = "00195", gene.idtype = "RAPDB", :
No proper gene annotation package available!
However, the online version shows mapping with the same input. So how can I solve this problem?
Thanks for your help. I tried with gene.idtype = "KEGG". But it not mapping the genes and throws warnings like,
Please paste the code you are using, so we can reproduce the problem.
Sorry, I used exactly the same code which you have given.
I tried the code before posting the answer, and it worked for me. Or at least it did give an image output -
osa00195.pathview.png
, here are the warnings:My
sessionInfo()
;Thanks,.! Yes, image for corresponding pathway is being generated. But none of the input genes are mapped to the generated pathway image. (To test purpose, I used two genes in the pathway 00195. So these two genes with highlighted red box in the pathway image is the expected result.)
Hi, could you solve your issue ? I am facing the same problem
Hi, I couldn't figure out the problem...But somehow it is possible to do