Skip to contents

A function with multiple checkmate assertions that verify if an input object is a MetaIntegrator object that contains only a single dataset.

Usage

.checkmateSingleMetaIntegratorObject(geo_object)

Arguments

geo_object

List of format created by MetaIntegrator::getGEOData

Value

NULL or fails

Details

MetaIntegrator objects aren't a specific class, so can't perform a single class check. Instead they represent a list that follows a standard pattern. This function checks several of these expected patterns.

Examples

if (FALSE) { # \dontrun{
  .checkmateSingleMetaIntegratorObject(GSE6629_GEO) # Returns NULL
  .checkmateSingleMetaIntegratorObject(GSE6629_expressionRaw) # Returns error
} # }