R/plot_jackknife_coclustering.R
plot_jackknife_coclustering.Rd
This function plots a raster of the patients' jackknife co-clustering probability.
The input matrix to this function can be obtained via Jackknife_patient_coclustering
;
in the visualisation the patient ids are coloured and ordered according to the clusters in the
input dataset, which can be obtained via Cluster
.
plot_jackknife_coclustering(x, cluster_palette = distinct_palette_few)
x | A |
---|---|
cluster_palette | A palette of colours; must be a function that when applied to a number it returns that number of colours. |
A ggplot
figure.
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_trajectories_stability()
,
plot_patient_CCF_histogram()
,
plot_patient_data()
,
plot_patient_mutation_burden()
,
plot_patient_oncoprint()
,
plot_patient_trees_scores()
# Data released in the 'evoverse.datasets' data('TRACERx_NEJM_2017_REVOLVER', package = 'evoverse.datasets') plot_jackknife_coclustering(TRACERx_NEJM_2017_REVOLVER)#> Warning: Vectorized input to `element_text()` is not officially supported. #> Results may be unexpected or may change in future versions of ggplot2.#> Warning: Vectorized input to `element_text()` is not officially supported. #> Results may be unexpected or may change in future versions of ggplot2.