Description Usage Arguments Value Examples
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
.
1 | as.confidence(x, conf, models = names(x$model))
|
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. |
A list of matrices with the event-to-event confidence.
1 2 3 | data(test_model)
as.confidence(test_model, conf='tp')
as.confidence(test_model, conf=c('tp', 'hg'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.