R/plot_patient_mutation_burden.R
plot_patient_mutation_burden.Rd
This function creates a scatterplot of a full cohort annotating clonal versus subclonal mutational burden, colouring each point by the number of total drivers in the patient, and using as shape the number of clones with drivers.
plot_patient_mutation_burden(x, patient, ...)
x | A REVOLVER cohort object. |
---|---|
patient | A patient id. |
... | Extra parameters, not used. |
A ggplot
plot.
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_data()
,
plot_patient_oncoprint()
,
plot_patient_trees_scores()
# Data released in the 'evoverse.datasets' data('TRACERx_NEJM_2017_REVOLVER', package = 'evoverse.datasets') plot_patient_mutation_burden(TRACERx_NEJM_2017_REVOLVER, 'CRUK0001')#> Warning: Transformation introduced infinite values in continuous y-axis#> Warning: Transformation introduced infinite values in continuous y-axis#> Warning: Removed 54 rows containing non-finite values (stat_density2d).plot_patient_mutation_burden(TRACERx_NEJM_2017_REVOLVER, 'CRUK0002')#> Warning: Transformation introduced infinite values in continuous y-axis#> Warning: Transformation introduced infinite values in continuous y-axis#> Warning: Removed 54 rows containing non-finite values (stat_density2d).