Stats_drivers: Summary statistics for the cohort's driver events.

View source: R/stats_functions.R

Stats_driversR Documentation

Summary statistics for the cohort's driver events.

Description

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.

Usage

Stats_drivers(x, drivers = x$variantIDs.driver)

Arguments

x

A REVOLVER cohort.

drivers

The drivers for which the summaries are computed.

Value

A tibble with the driver stastics.

See Also

Other Summary statistics: DET_index(), Stats_cohort(), Stats_fits(), Stats_trees(), Stats()

Examples

# 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'))

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