makeDonuts: Make Donut Plot.

Description Usage Arguments Value

Description

Make Donut Plot.

Usage

1
2
3
makeDonuts(subject, query, subquery = NULL, colorList = NULL,
  pieLim = c(0, 4), pieCut = 2.5,
  piesPerRow = ceiling(sqrt(length(unique(subject)))), savePDF = FALSE)

Arguments

subject

Vector of reference cluster assignments.

query

Vector of cluster assignments for comparison with reference.

subquery

Vector of lower level cluster assignments for comparison with reference. Defaults to NULL.

pieLim

vector of length 2 giving the xlim values for pies; defaults to c(0, 4).

pieCut

integer giving the radius of the query pie if subquery is defined; should be within the pieLim range; defaults to 2.5.

piesPerRow

Number of pies per row.

colorList=NULL

A named list of colors for clusters. The list needs elements "query" and optionally "subquery".

Value

A list with elements donuts (a ggplot object) and data (the underlying data.frame).


clajusch/ClEvaR documentation built on May 9, 2019, 4:55 a.m.