getGoDag {NoRCE} | R Documentation

## Plot and save the GO term DAG of the top n enrichments in terms of p-values or adjusted p-values with an user provided format

### Description

Plot and save the GO term DAG of the top n enrichments in terms of p-values or adjusted p-values with an user provided format

### Usage

    getGoDag(
      mrnaObject,
      type,
      n,
      filename,
      imageFormat,
      p_range = seq(0, 0.05, by = 0.001)
    )

### Arguments

`mrnaObject` | Output of enrichment results
`type` | Sort in terms of p-values or FDR. possible values "pvalue", "padjust"
`n` | Number of top enrichments
`filename` | Name of the DAG file
`imageFormat` | Image format of the DAG. possible values "png" or "svg"
`p_range` | Break points for the p-values or FDR. By default [0.05, 0.001, 0.0005, 0.0001, 0.00005,0.00001,0] is used

### Value

Saves image file in a given format

### Examples

    ncRNAPathway<-mirnaPathwayEnricher(gene = brain_mirna,
                                       org_assembly = 'hg19',near = TRUE)

[Package NoRCE version 1.6.0 Index]