R programmation
Does anyone know how to use the R language to write functions for string?
I have this type of string:
ATGTTGCGTGTC
I want to evalute the number of A or T and G and C for every A/T a want to sum 2 for the other 4 I want to have one number...
did you have any suggestion? because with If else I have difficultis
Thanks for any help