do_NJ: Perform neighbour-joining tree estimation

View source: R/do_NJ.R

do_NJR Documentation

Perform neighbour-joining tree estimation

Description

Perform the neighbor-joining tree estimation of Saitou and Nei on a distance matrix and plot the result.

Usage

do_NJ(dm, write = FALSE, fn = "output/NJ/output.png")

Arguments

dm

A distance matrix.

write

logical flag: (default = FALSE) if TRUE then a plot will be written to file fn.

fn

a connection or character string naming the file to write to.

Value

An object of class "phylo".


tjfinney/ANTTV documentation built on July 1, 2024, 11 p.m.