as.confidence: as.confidence

Description Usage Arguments Value Examples

View source: R/as.functions.R

Description

Return confidence information for a TRONCO model. Available information are: temporal priority (tp), probability raising (pr), hypergeometric test (hg), parametric (pb), non parametric (npb) or statistical (sb) bootstrap, entropy loss (eloss), prediction error (prederr). Confidence is available only once a model has been reconstructed with any of the algorithms implemented in TRONCO. If more than one model has been reconstructed - for instance via multiple regularizations - confidence information is appropriately nested. The requested confidence is specified via vector parameter conf.

Usage

1
as.confidence(x, conf, models = names(x$model))

Arguments

x

A TRONCO model.

conf

A vector with any of 'tp', 'pr', 'hg', 'npb', 'pb', 'sb', 'eloss', 'prederr' or 'posterr'.

models

The name of the models to extract, all by default.

Value

A list of matrices with the event-to-event confidence.

Examples

1
2
3

TRONCO documentation built on Nov. 8, 2020, 5:51 p.m.