Skip to contents

Model identifier

Usage

model_id(x, ...)

# S4 method for musica
model_id(x, result, modality, model_id)

# S4 method for result_collection
model_id(x, modality, model_id)

# S4 method for result_model
model_id(x)

model_id(x, ...) <- value

# S4 method for musica,matrix
model_id(x, result, modality, model_id) <- value

# S4 method for result_collection,matrix
model_id(x, modality, model_id) <- value

# S4 method for result_model,matrix
model_id(x) <- value

Arguments

x

A musica, result_collection, or result_model object generated by a mutational discovery or prediction tool.

...

Other inputs

result

Name of result from result_list to assign the model_id. Used when result is a musica object.

modality

Modality to assign the model_id. Used when result is a musica or result_collection object.

model_id

Model identifier to assign the model_id. Used when result is a musica or result_collection object.

value

Model identifier

Value

The model_id for the model

Examples

data(res)
model_id(res, "result", "SBS96", "res")
#> [1] "res"