PieGridView: A matrix of pie plots

View source: R/PieGridView.R

PieGridViewR Documentation

A matrix of pie plots

Description

A matrix of pie plots

Usage

PieGridView(
  dat,
  y = "Freq",
  fill = "Note",
  rows = "Gene",
  cols = "Cancer",
  percentage = TRUE,
  size = 2,
  row.label = NULL,
  col.label = NULL
)

Arguments

dat

A data frame for plotting.

y

Character, specifying the percentage of each group.

fill

Character, specifying the groups.

rows

Character, specifying the row in the pie matrix.

cols

Character, specifying the column in the pie matrix.

percentage

Boolean specifying whether convert the frequency to percentage before plotting.

size

Numeric, specifying the pie size.

row.label

A named character vector, specifying the row labels.

col.label

A named character vector, specifying the col labels.


WubingZhang/ggView documentation built on March 11, 2024, 3:33 a.m.