highlight_subset_sp_in_phylogeny: Highlight all branches linking a subset of species in a...

View source: R/plot.R

highlight_subset_sp_in_phylogenyR Documentation

Highlight all branches linking a subset of species in a phylogeny

Description

Highlight all branches linking a subset of species in a phylogeny

Usage

highlight_subset_sp_in_phylogeny(phy, subset_sp, highlight_color = "red")

Arguments

phy

The large phylogeny to plot.

subset_sp

A vector of species names to be highlighted on the plot of phylogeny.

highlight_color

The color to highlight the branches, the default is red.

Value

A 'ggplot2' object.


daijiang/lirrr documentation built on Feb. 3, 2024, 5:42 p.m.