get_tree_from_matrix: Get a "phylo" object from a relatedness matrix

Description Usage Arguments Value Examples

View source: R/sweepmetrics.R

Description

Get a "phylo" object from a relatedness matrix

Usage

1

Arguments

matrix

square matrix

Value

An object of class phylo.

Examples

1
2
3
tree <- get_tree_from_matrix(driver_matrix)
library(ape)
plot.phylo(tree, show.tip.label = FALSE)

robjohnnoble/demonanalysis documentation built on June 30, 2020, 12:47 a.m.