View source: R/plot_patient_trees.R
plot_patient_trees | R Documentation |
This function is like plot_data
, as it uses base plotting
functions to assemble a summary plot for a patient. This function
assembled the plot via ggpubr
. The first line of plots
represents the top tree for a patient, and its information transfer.
The strip below represents up to the top-10 trees for this patient,
as they are obtained from the standard tree-scoring (which means
that the score is not accounting for the actual transfer, but just
for the tree structure).
plot_patient_trees(x, patient, ...)
x |
A REVOLVER cohort object |
patient |
The patient for which the trees should be plot |
... |
Extra parameters, not used. |
A figure assembled with ggpubr
.
# Data released in the 'evoverse.datasets' data('TRACERx_NEJM_2017_REVOLVER', package = 'evoverse.datasets') # This returns a figure assembled with ggpubr plot_patient_trees(TRACERx_NEJM_2017_REVOLVER, patient = 'CRUK0002')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.