Displaying 1 result from an estimated 1 matches for "aqsdssdhrs".
2012 Feb 20
1
counting characters starting point
I have three character strings represented below as seq1, seq2, and seq3. Each string has a reference character different from the other. Thus, for seq1, the reference character is U, seq2, S (3rd S from left where A is leftmost character) and for seq3 Y.
seq1 = PQRTUWXYseq2 = AQSDSSDHRSseq3 = EEZYJKFFBHO
I wish to generate a 3 by 26 matrix where 3 represent seq1, seq2, seq3 and 26 the letters of the alphabet in order. A matrix entry should correspond to the number of characters from the reference character to the said character. We would consider characters to the left of the refe...