Drivers: Extract driver data for a patient.

View source: R/getter_functions.R

DriversR Documentation

Extract driver data for a patient.

Description

From a cohort object, this function extracts the tibble of annotated driver events for a patient (either CCF or binary).

Usage

Drivers(x, p)

Arguments

x

A REVOLVER cohort.

p

The id of a patient in the cohort.

Value

Drivers data for a custom patient.

See Also

Other Getters: CCF_clusters(), CCF(), Clonal_cluster(), Data(), ITransfer(), Phylo(), Samples(), Subclonal(), Truncal(), get_features()

Examples

# Data released in the 'evoverse.datasets'
data('TRACERx_NEJM_2017_REVOLVER', package = 'evoverse.datasets')

Drivers(TRACERx_NEJM_2017_REVOLVER, 'CRUK0002')

Drivers(TRACERx_NEJM_2017_REVOLVER, 'CRUK0008')

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