Algorithm 1: Populating mean cladogram algorithm |
1 Input: Cladogram, , a preprocessed ASVs vector, 2 Output: A populated cladogram of means, 3 forfrom the maximum cladogram depth to 0do 4 foreach node, , in layer,do 5 ifthe layer of is inthen 6 Assign node the value from 7 if has any children then 8 Assign its children mean to 9 return |