[R] R string functions
karena
dr.jzhou at gmail.com
Wed Jun 15 22:37:09 CEST 2011
Hi,
I have a string "GGGGGGCCCAATCGCAATTCCAATT"
What I want to do is to count the percentage of each letter in the string,
what string functions can I use to count the number of each letter appearing
in the string?
For example, the letter "A" appeared 6 times, letter "T" appeared 5 times,
how can I use a string function to get the these number?
thanks,
karena
--
View this message in context: http://r.789695.n4.nabble.com/R-string-functions-tp3600484p3600484.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list