survBubble: Plots survival results from spicy.

View source: R/signifPlot.R

survBubbleR Documentation

Plots survival results from spicy.

Description

Plots survival results from spicy.

Usage

survBubble(
  result,
  cutoff = 0.05,
  colourGradient = c("#4575B4", "white", "#D73027"),
  marksToPlot = NULL,
  kontextual = FALSE,
  contextColours = NULL,
  contextLabels = waiver()
)

Arguments

result

A spicyResults object that contains survival results.

cutoff

Significance threshold for circles in bubble plot.

colourGradient

A vector of colours, used to define the low, medium, and high values for the colour scale.

marksToPlot

Vector of marks to include in bubble plot.

kontextual

A boolean indicating if the 'result' is a Kontextual result from Kontextual.

contextColours

Only used if 'kontextual = TRUE'. A named list specifying the colours for each context. By default the Tableau colour palette is used.

contextLabels

Only used if 'kontextual = TRUE'. A named list to change the default labels for each context.

Value

A ggplot object.


ellispatrick/spicyR documentation built on Sept. 20, 2024, 6:29 a.m.