plot_map {basket}R Documentation

Plot the Map Exchangeability of a Basket Trial

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

plot_map(x, ...)

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


# 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)


[Package basket version 0.10.11 Index]