Learn R Programming

TRONCO (version 2.4.2)

as.models: as.models

Description

Extract the models from a reconstructed object.

Usage

as.models(x, models = names(x$model))

Arguments

x
A TRONCO model.
models
The name of the models to extract, e.g. 'bic', 'aic', 'caprese', all by default.

Value

The models in a reconstructed object.

Examples

Run this code
data(test_model)
as.models(test_model)

Run the code above in your browser using DataLab