Displaying 2 results from an estimated 2 matches for "peak_start".
Did you mean:
pam_start
2010 Jun 26
2
Recursive indexing failed at level 2
...e [i] has >20 values.
This gives the error "Recursive Indexing failed at level 2". But,
interestingly this instruction is part of a loop which has gone through
about 200,000 iterations before giving this error.
Actual code:
>
pulse_subset[[1:(length(unlist(pulse[i])[as.numeric(peak_start[i]):as.numeric(peak_end[i])]))]]
<- unlist(pulse[i])[as.numeric(peak_start[i]):as.numeric(peak_end[i])]
Error in
pulse_subset[[1:(length(unlist(pulse[i])[as.numeric(peak_start[i]):as.numeric(peak_end[i])]))]]
<- unlist(pulse[i])[as.numeric(peak_start[i]):as.numeric(peak_end[i])] :
recu...
2013 Mar 11
0
splitting column into two
...7,+,8
?chr1,565463,565541,565480 565481,1214,+,15
?chr1,565653,565697,565662 565663,1031,+,28
?chr1,565861,565922,565883 565884,316,+,12
",sep=",",header=TRUE,stringsAsFactors=FALSE)
library(reshape2)
dat2<-with(dat1,{cbind(dat1[,-4],colsplit(V4,pattern=" ",names=c("peak_start","peak_end")))})
?dat2
#???? V1???? V2???? V3?? V5 V6? V7 peak_start peak_end
#1? chr1 564563 564598 1336? + 134???? 564588?? 564589
#2? chr1 564620 564649?? 94? +? 10???? 564644?? 564645
#3? chr1 565369 565404? 217? +?? 8???? 565371?? 565372
#4? chr1 565463 565541 1214? +? 15???? 56...