I have this table (mydf) with the column ALT, and I want to split the string in each cell of this column so that there are only one character per cell and
cbind them to new column as ALT1, ALT2, ALT3, ..., ALTn based on the number of characters in the cells and get the result table. How can I do this in R? Thank you for your help.
REF ALT GENE A GC MAPK T GCA..n MAP2K
REF ALT ALT1 ALT2 ALTn GENE A GC G C MAPK T GCA..n G C nth character MAP2K