Re: [R] Why I can't retrieve GO identifier correctly?

2004-10-13 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: Hello, R experts, I tried to retrieve all biological process GO terms at level 3 starting biological process as level 1 using the code as bellows: 1 library(GO) 2 library(GOstats) 3 level2-getGOChildren(GO:0008150)$GO:0008150$Children 4 for ( i in 1:length(level2)) { 5

Re: [R] Why I can't retrieve GO identifier correctly?

2004-10-13 Thread szhan
Hello, Uwe and Robert, Thank you for your help! I fixed the problem as your suggestion. I run into a new issue: I can't sink the output to a file in the script within loops as bellows, but I can sink it in the command line( I run R1.9.1 on WinXP). The scrip: sink(C:/level3BPterm.txt)

Re: [R] Why I can't retrieve GO identifier correctly?

2004-10-13 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: Hello, Uwe and Robert, Well, you are sending your message to Uwe and R-help rather than Uwe and Robert .. Thank you for your help! I fixed the problem as your suggestion. I run into a new issue: I can't sink the output to a file in the script within loops as

[R] Why I can't retrieve GO identifier correctly?

2004-10-12 Thread szhan
Hello, R experts, I tried to retrieve all biological process GO terms at level 3 starting biological process as level 1 using the code as bellows: 1 library(GO) 2 library(GOstats) 3 level2-getGOChildren(GO:0008150)$GO:0008150$Children 4 for ( i in 1:length(level2)) { 5level3 -

Re: [R] Why I can't retrieve GO identifier correctly?

2004-10-12 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: Hello, R experts, I tried to retrieve all biological process GO terms at level 3 starting biological process as level 1 using the code as bellows: 1 library(GO) 2 library(GOstats) 3 level2-getGOChildren(GO:0008150)$GO:0008150$Children 4 for ( i in