View source: R/plot_trajectories_per_clusters.R
plot_trajectories_per_cluster | R Documentation |
Assemble a figure that plots a graph (or tree) per cluster where each driver is connected to its trajectories. This allows to determine the most frequent trajectories in a cluster.
plot_trajectories_per_cluster(x, min_counts = 5)
x |
A revolver object with clusters computed. |
min_counts |
A scalare >= 1 to subset only trajectories observed
in |
A figure with multiple plots.
# Data released in the 'evoverse.datasets' data('TRACERx_NEJM_2017_REVOLVER', package = 'evoverse.datasets') # In at least 5 cases plot_trajectories_per_cluster(TRACERx_NEJM_2017_REVOLVER, min_counts = 5) # In 50% of the cluster's cases plot_trajectories_per_cluster(TRACERx_NEJM_2017_REVOLVER, min_counts = .5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.