search for: ababaaa

Displaying 1 result from an estimated 1 matches for "ababaaa".

Did you mean: ababa
2007 Oct 03
1
Making a table: collapsing across sub-strings
...pears in this set. This is not very difficult and can be done as: TB<-table(my_set) plot(TB) However, I also want to collapse across sub-strings. This is, I want a sub-string ss of string S to be counted as an occurrence of string S. So, 'abab' should be included in the count of 'ababaaa' and should not be listed as a separate entry in the frequency table. Does somebody has a pointer to a way to do this? I have been checking out the CRAN packages for handling DNA sequences, but this has not really brought me closer to a solution. Thanks, Dieter Vanderelst -------------------...