plot_map: Plot the Map Exchangeability of a Basket Trial

Description Usage Arguments Details Examples

View source: R/plot.r

Description

The Maximum A Posteriori Probability (MAP) of an MEM is the estimate of the exchangeability structure of a basket trial. This function visualizes this matrix as an exchangeogram.

Usage

1

Arguments

x

basket element of the exchangeability model.

...

other options passed to ggplot2 to alter the visual

Details

The plot_map function attempts to place the basket names to the left of the main diagonal in a way that makes it easy to read. However, for especially long basket names options are provided. Here is a list of all options available to “fine tune” the visualizations. These auxiliary options include:

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Create an MEM analysis of the Vemurafenib trial data.
data(vemu_wide)

mem_analysis <- mem_exact(
  vemu_wide$responders,
  vemu_wide$evaluable,
  vemu_wide$baskets
)

plot_map(mem_analysis$basket)

basket documentation built on Oct. 17, 2021, 1:07 a.m.