is.compliant {TRONCO} | R Documentation

## is.compliant

### Description

Check if 'x' is compliant with TRONCO's input: that is if it has dataframes x$genotypes, x$annotations, x$types and x$stage (optional)

### Usage

    is.compliant(x, err.fun = "[ERR]", stage = !(all(is.null(x$stages)) ||
      all(is.na(x$stages))))

### Arguments

`x` | A TRONCO compliant dataset.
`err.fun` | string which identifies the function which called is.compliant
`stage` | boolean flag to check x$stage datagframe

### Value

on error stops the computation

### Examples

    data(test_dataset)
    is.compliant(test_dataset)

[Package TRONCO version 2.18.0 Index]