plot_patient_data: Plot the data for a patient.

View source: R/plot_patient_data.R

plot_patient_dataR Documentation

Plot the data for a patient.

Description

This function creates a complex plot for the data of a patient, assembling plots returned from the following functions: 1) plot_data_clusters, 2) plot_data_clone_size, 3) plot_data_mutation_burden and 4) plot_patient_oncoprint.

Usage

plot_patient_data(x, patient, ...)

Arguments

x

A REVOLVER cohort.

patient

A patient id.

...

Extra parameters passed to all the used plotting functions.

Value

A figure assembled with ggpubr.

See Also

Other Plotting functions: distinct_palette_few(), distinct_palette_many(), gradient_palette(), plot_DET_index(), plot_clusters(), plot_dendrogram(), plot_drivers_clonality(), plot_drivers_graph(), plot_drivers_occurrence(), plot_jackknife_cluster_stability(), plot_jackknife_coclustering(), plot_jackknife_trajectories_stability(), plot_patient_CCF_histogram(), plot_patient_mutation_burden(), plot_patient_oncoprint(), plot_patient_trees_scores()

Examples

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

plot_patient_data(TRACERx_NEJM_2017_REVOLVER, 'CRUK0001')
plot_patient_data(TRACERx_NEJM_2017_REVOLVER, 'CRUK0002')

caravagn/revolver documentation built on May 21, 2022, 5:48 p.m.