Plots a heatmap of the patients (x-axis) and driver events (y-axis), which helps visualizing in a simple fashion the mapping of drivers in the cohort.

plot_drivers_occurrence(x)

Arguments

x

A REVOLVER cohort.

Value

A `ggplot` object of the plot.

Examples

# Data released in the 'evoverse.datasets'
data('TRACERx_NEJM_2017_REVOLVER', package = 'evoverse.datasets')

plot_drivers_occurrence(TRACERx_NEJM_2017_REVOLVER)