Return true if there is a reconstructed model in the TRONCO dataset 'x', which should be a TRONCO compliant dataset - see is.compliant.

has.model(x)

Arguments

x

A TRONCO compliant dataset.

Value

TRUE if there is a reconstructed model in x.

Examples

data(test_dataset)
has.model(test_dataset)
#> [1] FALSE