Displaying 3 results from an estimated 3 matches for "565541".
Did you mean:
65541
2011 Jun 07
1
extract data from a data frame field
...which one of the columns has more information
together- see column 4, peak_loc:
chr start end peak_loc cluster_TC strand peak_TC
1 chr1 564620 564649 chr1:564644..564645,+ 94 + 10
2 chr1 565369 565404 chr1:565371..565372,+ 217 + 8
3 chr1 565463 565541 chr1:565480..565481,+ 1214 + 15
4 chr1 565653 565697 chr1:565662..565663,+ 1031 + 28
5 chr1 565861 565922 chr1:565883..565884,+ 316 + 12
6 chr1 566537 566573 chr1:566564..566565,+ 119 + 11
I am trying to find out if there''...
2013 Mar 11
0
splitting column into two
HI,
Try this:
dat1<- read.table(text="
?V1,V2,V3,V4,V5,V6,V7
?chr1,564563,564598,564588 564589,1336,+,134
?chr1,564620,564649,564644 564645,94,+,10
?chr1,565369,565404,565371 565372,217,+,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","pe...
2011 Jun 19
3
extract data from a column
Hi all,
I have a column that has the following format:
chr1:564588..564589,+ and I want to extract only the coordinates; I have
tried writing a regular expression but I couldn't figure out how I should
write it. Does anyone know?
Thank you,
Best,
Nanami
[[alternative HTML version deleted]]