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

Subclonal(x, p)

Arguments

x

A REVOLVER cohort.

p

The id of a patient in the cohort.

Value

Subclonal data for a custom patient.

See also

Examples

# Data released in the 'evoverse.datasets' data('TRACERx_NEJM_2017_REVOLVER', package = 'evoverse.datasets') Subclonal(TRACERx_NEJM_2017_REVOLVER, 'CRUK0002')
#> # A tibble: 5 x 12 #> id Misc patientID variantID is.driver is.clonal cluster cluster_size CCF #> <chr> <chr> <chr> <chr> <lgl> <lgl> <chr> <int> <chr> #> 1 __mu… CRUK… CRUK0002 RB1 TRUE FALSE 1 3 R1:0… #> 2 __mu… CRUK… CRUK0002 IKZF1 TRUE FALSE 1 3 R1:0… #> 3 __mu… Anno… CRUK0002 KRAS TRUE FALSE 1 3 R1:0… #> 4 __mu… CRUK… CRUK0002 NF1 TRUE FALSE 5 1 R1:0… #> 5 __mu… CRUK… CRUK0002 EP300 TRUE FALSE 6 1 R1:0… #> # … with 3 more variables: R1 <dbl>, R2 <dbl>, R3 <dbl>
Subclonal(TRACERx_NEJM_2017_REVOLVER, 'CRUK0008')
#> # A tibble: 1 x 11 #> id Misc patientID variantID is.driver is.clonal cluster cluster_size CCF #> <chr> <chr> <chr> <chr> <lgl> <lgl> <chr> <int> <chr> #> 1 __mu… CRUK… CRUK0008 ARID2 TRUE FALSE 3 1 R1:0… #> # … with 2 more variables: R1 <dbl>, R2 <dbl>