Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


ggtree (version 1.4.11)

nodebar: nodebar

Description

generate a list of bar charts for results of ancestral state reconstruction

Usage

nodebar(data, cols, color, alpha = 1, position = "stack")

Arguments

data
a data.frame of stats with an additional column of node number
cols
column of stats
color
color of bar
alpha
alpha
position
position of bar, one of 'stack' and 'dodge'

Value

list of ggplot objects