get_features | R Documentation |
Computes a set of summary features for the cohort, in the form of a matrix. The fits must be available inside the cohort to retrieve some of these features, which are:
the matrix of driver events with mean CCF or binary value;
the matrix of the drivers occurrence acrross all the cohort;
the matrix of the clonal drivers occurrence acrross all the cohort;
the matrix of the subclonal drivers occurrence acrross all the cohort;
the matrix of the occurrence of all evolutionary trajectories across patients
The function returns a named list, so that names can be used to access the matrices.
get_features(x, patients = x$patients)
x |
A |
patients |
A vector of patient ids for which the features are extracted. |
A list of matrices.
Other Getters:
CCF_clusters()
,
CCF()
,
Clonal_cluster()
,
Data()
,
Drivers()
,
ITransfer()
,
Phylo()
,
Samples()
,
Subclonal()
,
Truncal()
# Data released in the 'evoverse.datasets' data('TRACERx_NEJM_2017_REVOLVER', package = 'evoverse.datasets') features = get_features(TRACERx_NEJM_2017_REVOLVER) print(names(features)) print(features)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.