plot_tree_color: Plot phylogenetic tree with colored branches

View source: R/plot_tree.r

plot_tree_colorR Documentation

Plot phylogenetic tree with colored branches

Description

This function plots a phylogenetic tree with colors representing groups

Usage

plot_tree_color(tree, data, size = 0.3)

Arguments

tree

An object of class phylo

data

A data frame with taxon name in the row name and the group assignment in the 1st column

size

Branch thickness

Value

This function returns an object of the ggtree class.

Author(s)

Kevin Surya


suryakevin/drugcandy documentation built on May 6, 2022, 6:37 p.m.