Algorithm 3: Reordering algorithm, REA |
1 Input: , level of taxonomy 2 Output: , rearranged matrix 3 4 Annotate: R in level l: 5 6 Temp 7 for Cluster in do 8 for taxa in Cluster do 9 Append taxa column to Temp if then 10 Temp 11 Append Temp to 12 return |