PlotPhyBar: A plot wrapper to generate a horizontal bar plot of input...

View source: R/PlotPhyBar.R

PlotPhyBarR Documentation

A plot wrapper to generate a horizontal bar plot of input identity to palmDB (aa The order of the bars matches the taxa order of the phylogenetic tree object tree.phy

Description

A plot wrapper to generate a horizontal bar plot of input identity to palmDB (aa The order of the bars matches the taxa order of the phylogenetic tree object tree.phy

Usage

PlotPhyBar(tree.df, p)

Arguments

tree.df

data.frame, merged tree labels and pro.df. use get.proPhy

p

a ggtree plot of tree.phy. use PlotPhy

Value

A bar plot of

Examples

data("waxsys.tree.df")
data("waxsys.tree.phy")

p <- PlotPhy(waxsys.tree.df, waxsys.tree.phy)
plotPhyBar <- PlotPhyBar(waxsys.tree.df, p)


ababaian/palmid documentation built on July 1, 2023, 1:09 a.m.