Truncal: Extract clonal (i.e., truncal) data for a patient.

View source: R/getter_functions.R

TruncalR Documentation

Extract clonal (i.e., truncal) data for a patient.

Description

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

Usage

Truncal(x, p)

Arguments

x

A REVOLVER cohort.

p

The id of a patient in the cohort.

Value

Truncal data for a custom patient.

See Also

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

Examples

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

Truncal(TRACERx_NEJM_2017_REVOLVER, 'CRUK0002')

Truncal(TRACERx_NEJM_2017_REVOLVER, 'CRUK0008')

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