pathview: unable to use option "out.suffix"
1
0
Entering edit mode
文祥 • 0
@55f3e2a2
Last seen 3.5 years ago
Japan

Hi

I'm a light user of R, and faced the problem with package "pathview". I tried to use the option "out.suffix", but it didn't work. Output results were over-written due to this problem. This is trouble.


#Here is my code
pathview(gene.data = sample.fc, pathway.id = keggids, species = "hsa", out.suffiX = "sample_name")

# result
'select()' returned 1:1 mapping between keys and columns
Info: Working in directory /Users/sakurafumiaki/Desktop/DEseq2
Info: Writing image file hsa04060.pathview.png
Info: Downloading xml files for hsa04061, 1/1 pathways..
Info: Downloading png files for hsa04061, 1/1 pathways..
'select()' returned 1:1 mapping between keys and columns
Info: Working in directory /Users/sakurafumiaki/Desktop/DEseq2
Info: Writing image file hsa04061.pathview.png
Info: Downloading xml files for hsa04657, 1/1 pathways..
Info: Downloading png files for hsa04657, 1/1 pathways..
'select()' returned 1:1 mapping between keys and columns
Info: Working in directory /Users/sakurafumiaki/Desktop/DEseq2
Info: Writing image file hsa04657.pathview.png
Info: Downloading xml files for hsa04668, 1/1 pathways..
Info: Downloading png files for hsa04668, 1/1 pathways..
'select()' returned 1:1 mapping between keys and columns
Info: Working in directory /Users/sakurafumiaki/Desktop/DEseq2
Info: Writing image file hsa04668.pathview.png
'select()' returned 1:1 mapping between keys and columns
Info: Working in directory /Users/sakurafumiaki/Desktop/DEseq2
Info: Writing image file hsa04640.pathview.png

And my environment

OS: macOS BigSur v11.4

Rstudio: version 1.4.1103

pathview : verson 1.32.0

Could anyone can help?

Thank you for your attention

Fumiaki

pathview • 1.4k views
ADD COMMENT
0
Entering edit mode

Add coment about sessionInfo

R version 4.1.0 (2021-05-18)

Platform: x86_64-apple-darwin17.0 (64-bit)

Running under: macOS Big Sur 10.16

Best Fumiaki

ADD REPLY
0
Entering edit mode

Hi

I made a mistake. That was a typo! No space was needed after the "out.suffix".

pathview(gene.data = sample.fc, pathway.id = keggids, species = "hsa", out.suffiX="sample_name")

command above was worked. I'm sorry for bother you.

ADD REPLY
0
Entering edit mode
Luo Weijun ★ 1.6k
@luo-weijun-1783
Last seen 18 months ago
United States

Just a reminder: The typo was not the space, it is the upper case X in out.suffiX. the argument is out.suffix instead, as shown in the subject line.

#your code  
pathview(gene.data = sample.fc, pathway.id = keggids, species = "hsa", out.suffiX = "sample_name")
ADD COMMENT

Login before adding your answer.

Traffic: 421 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6