View source: R/getter_functions.R
Cluster | R Documentation |
For a set of 'patients' - all by default - extract the clustering information computed by REVOVLER. The result is just a tibble with a column representing the patient id, and a column with the cluster label.
Cluster(x, patients = x$patients)
x |
A REVOLVER cohort with fits and clusters. |
patients |
Patients to use, all by default. |
A tibble with the required clustering assignments
# Data released in the 'evoverse.datasets' data('TRACERx_NEJM_2017_REVOLVER', package = 'evoverse.datasets') Cluster(TRACERx_NEJM_2017_REVOLVER) #' Cluster(TRACERx_NEJM_2017_REVOLVER, patients = c("CRUK0001", "CRUK0002"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.