Displaying 1 result from an estimated 1 matches for "ykr054c".
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 1:nrow(data)){
cat(data[i,1]
}
it'll not return things like "YHR165C" but number like 6,7,9..
is thi...