Displaying 1 result from an estimated 1 matches for "0224ln".
Did you mean:
0224
2009 Jun 03
1
strsplit for multiple columns
...7ATPR -- GG AA -- AA -- AA GG GG
4 0128EHAB -- GG AA -- AG -- AA AG GG
5 PBBA0829 -- GG AA -- AA -- AA GG AG
6 01605BGA -- GG AA -- AA -- AA GG GG
7 01624BGA -- GG AA -- AG -- AA GG GG
8 01853BGA -- GG AA -- AG -- AA GG GG
9 BBA0949 -- GG AA -- AA -- AA GG GG
10 0224LN -- GG AA -- AA -- AA GG GG
For single column (works well)
b<- cbind.data.frame(do.call("rbind", strsplit(as.character(a$V2), "")))
For multiple columns:
for (i in 2:10)
{
b<- cbind.data.frame(do.call("rbind", strsplit(as.character(a[i...