As discussed in the previous answer, UPGMA and NJ are different algorithms to build a tree from a distance matrix. While NJ requires the distances to be additive, UPGMA additionally requires that they are ultrametric. The two methods produce different types of trees (rooted in the case of UPGMA and unrooted in the case of NJ).
As discussed in the previous answer, UPGMA and NJ are different algorithms to build a tree from a distance matrix. While NJ requires the distances to be additive, UPGMA additionally requires that they are ultrametric. The two methods produce different types of trees (rooted in the case of UPGMA and unrooted in the case of NJ).