cluster_patristicmatrix: Cluster a patristic matrix into a tree with various methods.

View source: R/to_phylo.R

cluster_patristicmatrixR Documentation

Cluster a patristic matrix into a tree with various methods.

Description

Cluster a patristic matrix into a tree with various methods.

Usage

cluster_patristicmatrix(patristic_matrix, variance_matrix = NULL)

Arguments

patristic_matrix

A patristic matrix

variance_matrix

A variance matrix from a datelifeResult object, usually an output from datelife_result_variance_matrix(). Only used if clustering_method = "mvr".

Details

If clustering method fails, NA is returned.

Value

A list of trees obtained with clustering methods detailed in patristic_matrix_to_phylo().


datelife documentation built on July 10, 2023, 2:02 a.m.