Check if a list or a compData object contains the necessary slots for applying the differential expression functions interfaced by the compcodeR package. This function is provided for backward compatibility, see also check_compData and check_compData_results.

checkDataObject(data.obj)

Arguments

data.obj

A list containing data and condition information, or a compData object.

Author

Charlotte Soneson

Examples

mydata.obj <- generateSyntheticData(dataset = "mydata", n.vars = 1000, 
                                    samples.per.cond = 5, n.diffexp = 100)
checkDataObject(mydata.obj)
#> [1] "Data object looks ok."