Canonical oncoprint

plot_patient_oncoprint(x, patient, clusters_palette = distinct_palette_many)

Arguments

x

A REVOLVER cohort object.

patient

The id of a patient.

clusters_palette

A palette function that should return the colour of an arbitrary number of clusters.

Value

A figure assembled with ggpubr which combines multiple ggplot tile plots.

See also

Examples

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