nameToKey {TRONCO} | R Documentation

## nameToKey

### Description

Convert to key an intelligible event names, e.g., change 'Mutation KRAS' in G23. If a name is not found, an error is raised!

### Usage

    nameToKey(x, name)

### Arguments

`x` | A TRONCO compliant dataset.
`name` | A intelligible event name

### Value

A TRONCO dataset key name

### Examples

    data(test_model)
    adj_matrix = as.adj.matrix(test_model, events=as.events(test_model)[5:15,])$bic

[Package TRONCO version 2.12.0 Index]