Learn R Programming

TRONCO (version 2.4.2)

is.compliant: 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

Run this code
data(test_dataset)
is.compliant(test_dataset)

Run the code above in your browser using DataLab