So, im reading words from the keyboard creating like a sequence of letters (aminoacids), e.g "AAAA" or "ATWRN".
first.sqnc <- readline(prompt = "Insert the first sequence ") #Read first sequence
first.sqnc = "ARTC"
But now i need to access to each of the letters separetly. Because later on i need do search on a matrix the value in the colunm "A" and the row "T" and i cant because i dont know how to separate the letters from each other.
In C we can read character by character and put it on a vector. How do we do that in R?