nodepie: nodepie

View source: R/inset.R

nodepieR Documentation

nodepie

Description

generate a list of pie charts for results of ancestral stat reconstruction

Usage

nodepie(
  data,
  cols,
  color,
  alpha = 1,
  outline.color = "transparent",
  outline.size = 0
)

Arguments

data

a data.frame of stats with an additional column of node number named "node"

cols

columns of the data.frame that store the stats

color

set color of bars

alpha

set transparency of the charts

outline.color

color of outline

outline.size

size of outline

Value

list of ggplot objects

Author(s)

Guangchuang Yu


GuangchuangYu/ggtree documentation built on April 12, 2024, 5:20 a.m.