is.compliant {TRONCO} | R Documentation |
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)
is.compliant( x, err.fun = "[ERR]", stage = !(all(is.null(x$stages)) || all(is.na(x$stages))) )
x |
A TRONCO compliant dataset. |
err.fun |
string which identifies the function which called is.compliant |
stage |
boolean flag to check x$stage datagframe |
on error stops the computation
data(test_dataset) is.compliant(test_dataset)