Have you checked the package seqinR at CRAN? It may help.
Also, if you split a string into single characters using strsplit, then
use table to count characters.
seq-ATGAAC
table(strsplit(seq, ))
A C G T
3 1 1 1
3. based on AAABBB,how can i get some statistics of this string
such as
i am a newer to R and i am doing some protein category classification based on
the amino acid sequence.while i have some questions urgently.
I'm not sure to understand exactly what you are trying to do, but if
this is a kind of clustering from the amino-acid composition of
proteins beware that
Dear R-helpers:
thank your for your attention.
i am a newer to R and i am doing some protein category classification based on
the amino acid sequence.while i have some questions urgently.
1. any packages for analysis amino acid sequence
2. given two sequences AAA and BBB,how can i combine them