|
|
||
|
Next: Define a substitution model Up: Putting It All Together: Previous: Putting It All Together: Using ``combs'' when filtering data.It is often the case that molecular data sets have some repeating underlying structure that we would like to exploit or study. For instance, coding regions might be described with the repeating structure 123123123.... In positions.bf we create separate DataSetFilters for first, second, and third codon positions. The command:DataSetFilter myFilter1 = CreateFilter (myData,1,"<100>","0,1,3");creates a DataSetFilter named MyData1 that includes only the first nucleotide of every triplet. Likewise, the statement DataSetFilter myFilter3 = CreateFilter (myData,1,"<001>","0,1,3");creates a DataSetFilter named MyData3 that includes only the third nucleotide of every triplet. Had we wished to create a filter consisting of both first and second positions, we would have used a statement like DataSetFilter myFilter12 = CreateFilter (myData,1,"<110>","0,1,3");
Spencer Muse 2000-05-31 |
Sergei L. Kosakovsky Pond and Spencer V. Muse, 1997-2002
|
|