plot_DET_index: Plot the index of Divergent Evolutionary Trajectories.

View source: R/plot_DET_index.R

plot_DET_indexR Documentation

Plot the index of Divergent Evolutionary Trajectories.

Description

Plot the index of Divergent Evolutionary Trajectories, for a set of drivers using function DET_index. The plot is a barplot with colours reflecting the number of distinct incoming edges in each driver (species), and the height reflecting the actual DET index value.

Usage

plot_DET_index(x, ...)

Arguments

x

A REVOLVER object with fits.

...

Parmeters passed to function DET_index in order to compute the index value.

Value

A 'ggplot' object of the plot.

See Also

Other Plotting functions: distinct_palette_few(), distinct_palette_many(), gradient_palette(), 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_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_DET_index(TRACERx_NEJM_2017_REVOLVER)

# Passing parameters to DET_index
plot_DET_index(TRACERx_NEJM_2017_REVOLVER, min.occurrences = 5)

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