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