Displaying 1 result from an estimated 1 matches for "fields1".
Did you mean:
fields
2012 Feb 09
1
get the first character element from a list
...001_CCL54D_A01_S02_APL932_PL11_DL_20120111.CEL",
"20120111_181516_002_CCL54D_A02_S08_APL932_PL11_DL_20120111.CEL")
> test
[1] "20120111_181515_001_CCL54D_A01_S02_APL932_PL11_DL_20120111.CEL"
[2] "20120111_181516_002_CCL54D_A02_S08_APL932_PL11_DL_20120111.CEL"
fields1<-strsplit(test, "_")
> fields1
[[1]]
[1] "20120111" "181515" "001" "CCL54D"
"A01"
[6] "S02" "APL932" "PL11" "DL"
"20120111.CEL"
[[2]]
[1...