Learn R Programming

GeRnika (version 1.0.0)

plot_phylotree: Plot a phylogenetic tree

Description

This function generates a plot of a phylogenetic tree. If the `labels` parameter is set to TRUE, the nodes of the tree will be labeled with the labels stored in the Phylotree object.

Usage

plot_phylotree(phylotree, labels = FALSE)

Value

A plot of the phylogenetic tree.

Arguments

phylotree

An object of the Phylotree class representing the phylogenetic tree to be plotted.

labels

A logical value indicating whether to label the nodes with the labels stored in the Phylotree object. Default is FALSE.