as.selective.advantage.relations | R Documentation |
Returns a dataframe with all the selective advantage relations in a
TRONCO model. Confidence is also shown - see as.confidence
. It is possible to
specify a subset of events or models if multiple reconstruction have
been performed.
as.selective.advantage.relations(
x,
events = as.events(x),
models = names(x$model),
type = "fit"
)
x |
A TRONCO model. |
events |
A subset of events as of |
models |
A subset of reconstructed models, all by default. |
type |
Either Prima Facie ('pf') or fit ('fit') probabilities, 'fit' by default. |
All the selective advantage relations in a TRONCO model
data(test_model)
as.selective.advantage.relations(test_model)
as.selective.advantage.relations(test_model, events=as.events(test_model)[5:15,])
as.selective.advantage.relations(test_model, events=as.events(test_model)[5:15,], type='pf')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.