Displaying 2 results from an estimated 2 matches for "p05761".
Did you mean:
005761
2006 Oct 24
2
why it returns list level number instead of its content?
...P76388 P76388 P09375
[6946] P15300 P15723
1375 Levels: O50190 O65938 O69415 P00274 P00363 P00364 P00370 P00373 ...
Q9AJ15
data$V5 returns something like data$V4
I want to cbind this two columns, so I use
new <- cbind(data$V4,data$V5)
I expect it to return something like:
[1] P05761 P11986
[2] .......
however it returns
[1] 215 434
[2] 134 213
.............
it uses level number instead of its content like "P05761". What's wrong
with it? how can I get its content instead of level number? I can use some
dirty ways to do that but I didn't understand why.
[[...
2006 Oct 23
1
problem of using list element in for cycle
sorry, pressed "sent" by mistake.
for example
>data <- read.csv("data.txt")
>data
V1 V2
1 YHR165C CG8877
2 YJL130C CG18572
3 YDL171C CG9674
4 YKR054C CG7507
5 YDL140C CG1554
6 YLR106C CG13185
7 YGL206C CG9012
8 YNL262W CG6768
9 YER172C CG5931
>typeof(data)
[1] "list"
>for (i in