[R] alignment algorithm or pattern frequency calculation

Weiwei Shi helprhelp at gmail.com
Fri Oct 19 00:13:09 CEST 2007


Hi,

I am looking for an algorithm (better if it is implemented in R) which
can do the following:

from the following list:
a,b,c,d
a,b,c
b,c
a,b,c,d,e

to calculate
a,b,c,d: 2
a,b,c: 3
a,b: 3
a,c: 3
b,c: 4
b,c,d:2

here, the order is not important.

Thanks.

-- 
Weiwei Shi, Ph.D
Research Scientist
GeneGO, Inc.

"Did you always know?"
"No, I did not. But I believed..."
---Matrix III



More information about the R-help mailing list