View source: R/compute_clone_trees.R
compute_clone_trees | R Documentation |
Create clone tree phylogenies from the package
ctree
, fitting the input data given to REVOLVER
.
A set of patient ids can be given as input, by default all are
used. A parmeter controls if you want to overwrite the trees
of the patient, where they already computed. Please refer to the
parameters of the ctrees
constructor rom package ctree
for the input parameters that you can use to tune the construction.
compute_clone_trees( x, patients = Stats_cohort(x) %>% pull(patientID), overwrite = FALSE, ... )
x |
A |
patients |
A set of patient ids in the cohort, for which the phylogenies are created. |
Other Cohort creation:
CCF_parser()
,
compute_mutation_trees()
,
input_custom_trees()
,
revolver_check_cohort()
,
revolver_cohort()
# Data released in the 'evoverse.datasets' data('TRACERx_NEJM_2017_REVOLVER', package = 'evoverse.datasets') print(TRACERx_NEJM_2017_REVOLVER) # We use the standard parameters with overwrite = TRUE # otherwise the computation skips the patient TRACERx_NEJM_2017_REVOLVER = compute_clone_trees( TRACERx_NEJM_2017_REVOLVER, patients = "CRUK0002", overwrite = TRUE) Phylo(TRACERx_NEJM_2017_REVOLVER, 'CRUK0002', rank = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.