Description Usage Arguments Value Examples
Convert colnames/rownames of a matrix into intelligible event names, e.g., change a key G23 in 'Mutation KRAS'. If a name is not found, the original name is left unchanged.
1 | keysToNames(x, matrix)
|
x |
A TRONCO compliant dataset. |
matrix |
A matrix with colnames/rownames which represent genotypes keys. |
The matrix with intelligible colnames/rownames.
1 2 3 | data(test_model)
adj_matrix = as.adj.matrix(test_model, events=as.events(test_model)[5:15,])$capri_bic
keysToNames(test_model, adj_matrix)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.