.check_module {GWENA} | R Documentation

## Run checks on an object to test if it's a module or a list of modules

### Description

Check content of a given object to determine if it's a module or a list of modules, meaning a single vector of characters which are gene names, or a named list of these vectors

### Usage

    .check_module(module, is_list = FALSE)

### Arguments

`module` | vector or list, object to test to be a module or list of modules
`is_list` | boolean, indicate if module must be tested as a single module or a list of modules

### Value

Throw an error if doesn't correspond

[Package GWENA version 1.0.1 Index]