R/getter_functions.R
Jackknife_trajectories_stability.RdAfter jackknife computations via revolver_jackknife,
this function extracts the trajectories stability obtained as the number of times
(normalized and non) a trajectory is inferred across resamples.
Jackknife_trajectories_stability(x)A tibble.
Other Jackknife statistics:
Jackknife_cluster_stability(),
Jackknife_patient_coclustering()
# Data released in the 'evoverse.datasets'
data('TRACERx_NEJM_2017_REVOLVER', package = 'evoverse.datasets')
Jackknife_trajectories_stability(TRACERx_NEJM_2017_REVOLVER)
#> # A tibble: 316 × 4
#> from to prob_resamp num_patients
#> <chr> <chr> <dbl> <dbl>
#> 1 ARHGAP35 TERT 1 0.0112
#> 2 BRAF TERT 1 0.0112
#> 3 CCND1 UBR5 1 0.0225
#> 4 CDKN2A CYLD 1 0.0112
#> 5 CDKN2A PTPRC 1 0.0225
#> 6 EGFR CIC 1 0.0112
#> 7 EP300 NF1 1 0.0225
#> 8 FANCC CYLD 1 0.0112
#> 9 FAS FLT4 1 0.0112
#> 10 FAT1 CYLD 1 0.0112
#> # ℹ 306 more rows