nameToKey: nameToKey

View source: R/as.functions.R

nameToKeyR 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


BIMIB-DISCo/TRONCO documentation built on Nov. 5, 2024, 3:44 a.m.