do_NJ_support: Estimate support values for a neighbour-joining tree

View source: R/do_NJ_support.R

do_NJ_supportR Documentation

Estimate support values for a neighbour-joining tree

Description

This uses bootstrap sampling of a data frame to produce a neighbour-joining tree with support values. Function do_reduction() is used with its default settings to reduce missing data in the input data frame. (It doesn't matter if the input data frame is already reduced.) Functions do_dist() and do_NJ() are used to produce 100 NJ trees from the reduced data frame. Support values are obtained from these trees.

Usage

do_NJ_support(fr, write = FALSE, fn = "output/NJ/support.png")

Arguments

fr

A data frame.

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.