writeEnrichment {NoRCE} | R Documentation

## Write the tabular form of the pathway or GO term enrichment results

### Description

Write the tabular form of the pathway or GO term enrichment results

### Usage

    writeEnrichment(mrnaObject, fileName, sept = "\t", type = "pAdjust", n)

### Arguments

`mrnaObject` | Object of the enrichment result
`fileName` | File name of the txt file
`sept` | File separator, by default, it is tab('\t')
`type` | Draw the dot plot according to the p-value or adjusted p-value ("pvalue", "pAdjust"). Default value is "pAdjust".
`n` | Number of GO terms or pathways, that ordered by type and has least number of top p-value

### Value

Text file of the enrichment results in a tabular format

### Examples

    ncGO<-geneGOEnricher(gene = brain_disorder_ncRNA, org_assembly='hg19',
       near=TRUE, genetype = 'Ensembl_gene')

    writeEnrichment(mrnaObject = ncGO,fileName = "a.txt",sept = '\t')

[Package NoRCE version 1.6.0 Index]