Re: [R] alignment algorithm or pattern frequency calculation

2007-10-19 Thread Weiwei Shi
frequent itemset, yeah.. I did not use that for a while thanks. On 10/19/07, Gad Abraham <[EMAIL PROTECTED]> wrote: > Weiwei Shi wrote: > > 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

Re: [R] alignment algorithm or pattern frequency calculation

2007-10-18 Thread Gad Abraham
Weiwei Shi wrote: > 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 im

Re: [R] alignment algorithm or pattern frequency calculation

2007-10-18 Thread jim holtman
t; "2" [10,] " b c d" "2" [11,] " a b c d" "2" > > On 10/18/07, Weiwei Shi <[EMAIL PROTECTED]> wrote: > The rule is search on any combinations whose size is more than 1, like > ab, ac, abc, ... > > The storage can be like

Re: [R] alignment algorithm or pattern frequency calculation

2007-10-18 Thread Weiwei Shi
o: jim holtman > > Cc: [EMAIL PROTECTED] > > Subject: Re: [R] alignment algorithm or pattern frequency calculation > > > > for example, > > > > a,b: 3 which means a and b appear together 3 times in my input list. > > > > On 10/18/07, jim holtman <

Re: [R] alignment algorithm or pattern frequency calculation

2007-10-18 Thread Weiwei Shi
4]] [1] "a" "b" "c" "d" "e" On 10/18/07, Nordlund, Dan (DSHS/RDA) <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Weiwei Shi > > Sent: Thursday, Octo

Re: [R] alignment algorithm or pattern frequency calculation

2007-10-18 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Weiwei Shi > Sent: Thursday, October 18, 2007 3:32 PM > To: jim holtman > Cc: [EMAIL PROTECTED] > Subject: Re: [R] alignment algorithm or pattern frequency calculation > &g

Re: [R] alignment algorithm or pattern frequency calculation

2007-10-18 Thread Weiwei Shi
the naive way is to exhausive search, but too bad for large and real situation. On 10/18/07, Weiwei Shi <[EMAIL PROTECTED]> wrote: > for example, > > a,b: 3 which means a and b appear together 3 times in my input list. > > On 10/18/07, jim holtman <[EMAIL PROTECTED]> wrote: > > It would be helpful

Re: [R] alignment algorithm or pattern frequency calculation

2007-10-18 Thread Weiwei Shi
for example, a,b: 3 which means a and b appear together 3 times in my input list. On 10/18/07, jim holtman <[EMAIL PROTECTED]> wrote: > It would be helpful if you explained what the numbers mean. > > On 10/18/07, Weiwei Shi <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I am looking for an algorithm

Re: [R] alignment algorithm or pattern frequency calculation

2007-10-18 Thread jim holtman
It would be helpful if you explained what the numbers mean. On 10/18/07, Weiwei Shi <[EMAIL PROTECTED]> wrote: > 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

[R] alignment algorithm or pattern frequency calculation

2007-10-18 Thread Weiwei Shi
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