View source: R/stats_functions.R
| Stats_drivers | R Documentation | 
Returns the number of clonal and subclonal occurrences of the drivers in the cohort, and their percentage relative to the cohort size. The function can be run on a subset of drivers.
Stats_drivers(x, drivers = x$variantIDs.driver)
x | 
 A REVOLVER cohort.  | 
drivers | 
 The drivers for which the summaries are computed.  | 
A tibble with the driver stastics.
Other Summary statistics: 
DET_index(),
Stats_cohort(),
Stats_fits(),
Stats_trees(),
Stats()
# Data released in the 'evoverse.datasets'
data('TRACERx_NEJM_2017_REVOLVER', package = 'evoverse.datasets')
# Get the stats for all patients
Stats_drivers(TRACERx_NEJM_2017_REVOLVER)
# And subset the patients
Stats_drivers(TRACERx_NEJM_2017_REVOLVER, drivers = c('TP53', 'KRAS'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.