patristic_matrix_to_phylo: Convert patristic matrix to a phylo object. Used inside:...

Description Usage Arguments Value

View source: R/datelife_internal.R

Description

Convert patristic matrix to a phylo object. Used inside: summarize_datelife_result, CongruiyTree.

Usage

1
2
patristic_matrix_to_phylo(patristic_matrix, clustering_method = "nj",
  fix_negative_brlen = TRUE, fixing_method = 0)

Arguments

patristic_matrix

A patristic matrix

clustering_method

A character vector indicating the method to construct the tree. Options are "nj" for Neighbor-Joining and "upgma" for Unweighted Pair Group Method with Arithmetic Mean.

fix_negative_brlen

Boolean indicating weather to fix negative branch lengths in resulting tree or not. Default to TRUE.

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 rooted phylo object


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