getGoDag: Plot and save the GO term DAG of the top n enrichments in...

Description Usage Arguments Value Examples

View source: R/plot.R

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

1
2
3
4
5
6
7
8
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

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

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