plot.term_enrichment: plot.term_enrichment

Description Usage Arguments Value Examples

View source: R/lib_enrichment.R

Description

plot.term_enrichment

Usage

1
2
3
## S3 method for class 'term_enrichment'
plot(x = NA, min_q = 0.05, max_terms = 25,
  extend_mar = c(0, 10, 0, 0), ...)

Arguments

x

data frame returned by term_enrichment

min_q

Only q-values more significant than this threshold will be plotted. Default = 0.05.

max_terms

Up to max_terms will be plotted. Default = 25.

extend_mar

Term names can be long. We attempt to keep them readable by extending the left-hand-side margins automatically. Default = c(0,10,0,0) added to par()$mar.

...

Additional arguments are passed on to plot()

Value

silent return from plot

Examples

1
2
3
require(RITANdata)
e <- term_enrichment(vac1.day0vs31.de.genes, resources = 'GO_slim_generic')
plot(e, min_q = .1)

MTZimmer/RITAN documentation built on Feb. 21, 2020, 7:09 a.m.