Question: only 0's may be mixed with negative subscripts
1
gravatar for nature.hunger
2.3 years ago by
nature.hunger20 wrote:
I got an Error about only 0's may be mixed with negative subscripts. I read a txt file as data.frame , it has more than 100 rows with 2 columns. And 4 genes are enriched in hsa04215 pathway. And I extract it from data.frame and transform to a vector, look like
> xx
      836       596      5599     10018 
-7.755529 -3.458985 -2.453181 -1.870450 
> hsa04215 <- pathview(gene.data=xx,
+                      pathway.id="hsa04215",
+                      species ="hsa")
'select()' returned 1:1 mapping between keys and columns
Info: Working in directory D:/desktop_folder
Info: Writing image file hsa04215.pathview.png
Info: some node width is different from others, and hence adjusted!
Error in img[pidx[i, 3]:pidx[i, 4], sel.px, 1:3] :
  only 0's may be mixed with negative subscripts

 

pathview • 1.0k views
ADD COMMENTlink modified 17 months ago by map208520 • written 2.3 years ago by nature.hunger20
Answer: only 0's may be mixed with negative subscripts
1
gravatar for nature.hunger
2.3 years ago by
nature.hunger20 wrote:

These days I got an answer from your Pathview web server. Because it has no hsa04215 pathway in your web server. But it has hsa04215 pathway in KEGG website (http://www.kegg.jp/pathway/hsa04215).

ADD COMMENTlink written 2.3 years ago by nature.hunger20
Answer: only 0's may be mixed with negative subscripts
0
gravatar for map2085
17 months ago by
map208520
United States
map208520 wrote:

I have same problem

ADD COMMENTlink written 17 months ago by map208520
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 107 users visited in the last hour