credible_intervals: Retrieve credible_intervals from a result_model,...

credible_intervalsR Documentation

Retrieve credible_intervals from a result_model, result_collection, or musica object

Description

Credible intervals for the model

Usage

credible_intervals(x, ...)

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

## S4 method for signature 'result_collection'
credible_intervals(x, modality, model_id)

## S4 method for signature 'result_model'
credible_intervals(x)

credible_intervals(x, ...) <- value

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

## S4 replacement method for signature 'result_collection,matrix'
credible_intervals(x, modality, model_id) <- value

## S4 replacement method for signature 'result_model,matrix'
credible_intervals(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 credible_intervals. Used when result is a musica object.

modality

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

model_id

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

value

List of credible intervals

Value

The credible intervals for the model

Examples

data(res)
credible_intervals(res, "result", "SBS96", "res")

campbio/musicatk documentation built on Dec. 25, 2024, 9:34 p.m.