Skip to contents

The modality

Usage

modality(x, ...)

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

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

# S4 method for result_model
modality(x)

modality(x, ...) <- value

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

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

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

Arguments

x

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

...

Other inputs result_collection object.

result

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

modality

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

model_id

Model identifier to assign the modality. Used when result is a musica or

value

A modality

Value

The modality for the model

Examples

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