writeEnrichment: Write the tabular form of the pathway or GO term enrichment...

View source: R/plot.R

writeEnrichmentR 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

## Not run: 
ncGO<-geneGOEnricher(gene = brain_disorder_ncRNA, org_assembly='hg19',
   near=TRUE, genetype = 'Ensembl_gene')
   
writeEnrichment(mrnaObject = ncGO,fileName = "a.txt",sept = '\t')

## End(Not run)


guldenolgun/NoRCE documentation built on Oct. 21, 2022, 11:48 a.m.