plot is a generic function for plotting of R objects. The function invokes particular methods which depend on the class of the first argument.

Arguments

x

An object of class Enrichment which the Z statistics or p-values have to be drawn.

what

Default "Genome". Plot Z statistics or p-values for the defined what, i.e., "All", "Genome" or numeric vector.

type

Plot the selected analysis for "eSNP" and/or "xSNP".

ggplot

Use ggplot (default FALSE) instead of classic plot method.

pvalue

If TRUE, p-value convergense is plotted. Otherwise, Z statistic is plotted.

...

Arguments to be passed to methods, such as graphical parameters (see par).

Examples

if (interactive()) { data(toyEnrichment) reSample(toyEnrichment, 10) plot(toyEnrichment) }