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

Description Usage Arguments Value Examples

View source: R/plot.R

Description

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

Usage

1
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

1
2
3
4
ncGO<-geneGOEnricher(gene = brain_disorder_ncRNA, org_assembly='hg19',
   near=TRUE, genetype = 'Ensembl_gene')
   
writeEnrichment(mrnaObject = ncGO,fileName = "a.txt",sept = '\t')

NoRCE documentation built on Nov. 8, 2020, 7:17 p.m.