mod_gsea {CEMiTool} | R Documentation

## Module Gene Set Enrichment Analysis

### Description

Perfoms Gene Set Enrichment Analysis (GSEA) for each co-expression module found.

### Usage

    mod_gsea(cem, ...)

    ## S4 method for signature 'CEMiTool'
    mod_gsea(cem, rank_method = "mean", verbose = FALSE)

### Arguments

`cem` | Object of class `CEMiTool`.
`...` | Optional parameters.
`rank_method` | Character string indicating how to rank genes. Either "mean" (the default) or "median".
`verbose` | logical. Report analysis steps.

### Value

GSEA results.

### See Also

`plot_gsea`

### Examples

    # Get example CEMiTool object
    data(cem)
    # Look at example annotation file
    sample_annotation(cem)
    # Run GSEA on network modules
    cem <- mod_gsea(cem)
    # Check results
    gsea_data(cem)

[Package CEMiTool version 1.0.3 Index]