EnrichedView {MAGeCKFlute} | R Documentation

## View enriched terms

### Description

Grid plot for enriched terms

### Usage

    EnrichedView(enrichment, main = NULL, color = "#3f90f7",
      termNum = 15, charLength = 40, filename = NULL, width = 7,
      height = 4, ...)

### Arguments

`enrichment` | A data frame of enrichment result, with columns of ID, Description, p.adjust and Count.
`main` | Same as 'title' in 'plot'.
`color` | Color of nodes.
`termNum` | Integer, specifying number of top enriched terms to show.
`charLength` | Integer, specifying max length of enriched term name to show as coordinate lab.
`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)

Feizhen Wu

### See Also

`KeggPathwayView`

`EnrichedGSEView`

### Examples

    data(geneList, package = "DOSE")
    enrichRes <- enrich.HGT(geneList[1:100])
    EnrichedView(enrichment=enrichRes@result)

[Package MAGeCKFlute version 1.2.3 Index]