tree_fix_brlen: Takes a tree and fixes negative or zero length branches in...

Description Usage Arguments Value

View source: R/tree_makeup_dates.R

Description

Takes a tree and fixes negative or zero length branches in several ways

Usage

1
2
tree_fix_brlen(tree = NULL, fixing_criterion = "negative",
  fixing_method = 0)

Arguments

tree

A tree either as a newick character string or as a phylo object

fixing_criterion

A character vector specifying the type of branch length to be fixed: "negative" or "zero"

fixing_method

A character vector specifying the method to fix branch lengths: "bladj", "mrbayes" or a number to be assigned to all branches meeting fixing_criterion

Value

A phylo object with fixed branch lengths


phylotastic/datelife documentation built on Jan. 14, 2019, 9:56 p.m.