@ARTICLE{10.3389/fgene.2020.584785, AUTHOR={Davidson, Ruth and Martín del Campo, Abraham}, TITLE={Combinatorial and Computational Investigations of Neighbor-Joining Bias}, JOURNAL={Frontiers in Genetics}, VOLUME={11}, YEAR={2020}, URL={https://www.frontiersin.org/articles/10.3389/fgene.2020.584785}, DOI={10.3389/fgene.2020.584785}, ISSN={1664-8021}, ABSTRACT={The Neighbor-Joining algorithm is a popular distance-based phylogenetic method that computes a tree metric from a dissimilarity map arising from biological data. Realizing dissimilarity maps as points in Euclidean space, the algorithm partitions the input space into polyhedral regions indexed by the combinatorial type of the trees returned. A full combinatorial description of these regions has not been found yet; different sequences of Neighbor-Joining agglomeration events can produce the same combinatorial tree, therefore associating multiple geometric regions to the same algorithmic output. We resolve this confusion by defining agglomeration orders on trees, leading to a bijection between distinct regions of the output space and weighted Motzkin paths. As a result, we give a formula for the number of polyhedral regions depending only on the number of taxa. We conclude with a computational comparison between these polyhedral regions, to unveil biases introduced in any implementation of the algorithm.} }