EnrichedGSEView {MAGeCKFlute} | R Documentation

## View enriched terms in GSEA

### Description

Grid plot for enriched terms in GSEA

### Usage

    EnrichedGSEView(enrichment, top = 5, bottom = 5, charLength = 40,
      main = NULL, filename = NULL, width = 7, height = 4, ...)

### Arguments

`enrichment` | A data frame of enrichment result, with columns of ID, Description, p.adjust and NES
`top` | An integer, specifying the number of top enriched terms to show.
`bottom` | An integer, specifying the number of bottom enriched terms to show.
`charLength` | Integer, specifying max length of enriched term name to show as coordinate lab.
`main` | Same as 'title' in 'plot'.
`filename` | Figure file name to create on disk. Default filename="NULL", which means no output.
`width` | As in ggsave.
`height` | As in ggsave.
`...` | Other available parameters in ggsave.

### Value

An object created by `ggplot`, which can be assigned and further customized.

### Author(s)

Wubing Zhang

### See Also

`EnrichedView`

### Examples

    ## Not run:
        data(geneList, package = "DOSE")
        enrichRes = enrich.GSE(geneList, type = "KEGG", organism="hsa")
        EnrichedGSEView(as.data.frame(enrichRes), main = "GSEA Analysis")

    ## End(Not run)

[Package MAGeCKFlute version 1.2.3 Index]