mod_gene_num {CEMiTool} | R Documentation

## Get the number of genes in modules in a CEMiTool object

### Description

Get the number of genes in modules in a CEMiTool object

### Usage

    mod_gene_num(cem, module = NULL)

    ## S4 method for signature 'CEMiTool'
    mod_gene_num(cem, module = NULL)

### Arguments

`cem` | Object of class `CEMiTool`
`module` | Default is NULL. If a character string designating a module is given, the number of genes in that module is returned instead.

### Value

The number of genes in module(s)

### Examples

    # Get example CEMiTool object
    data(cem)
    # Get the number of genes in modules
    mod_gene_num(cem)
    # Get the number of genes in module M1
    mod_gene_num(cem, "M1")

[Package CEMiTool version 1.6.11 Index]