plot-methods: Plot method (S4) for 'Enrichment' object

Description Usage Arguments Author(s) See Also Examples

Description

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

Usage

1
2
3
## S4 method for signature 'Enrichment'
plot(x, what = "Genome", type = c("eSNP", "xSNP"),
           ggplot = FALSE, pvalue = TRUE, ...)

Arguments

x

[Enrichment]: an object of class Enrichment which the Z statistics or p-values have to be drawn.

what

[character or vector(numeric)]: default what="Genome") plot Z statistics or p-values for genome only (what must be: "All", "Genome" or numeric vector).

type

[vector(character)]: plot the selected analysis for "eSNP" and/or "xSNP".

ggplot

[logical]: use ggplot (default ggplot=FALSE) instead of classic plot method.

pvalue

[logical]: if TRUE, p-value convergense is plotted. Otherwise, Z statistic is plotted.

...

[any]: Arguments to be passed to methods, such as graphical parameters (see par)

Author(s)

Mickael Canouil mickael.canouil@good.ibl.fr

See Also

Overview : snpEnrichment-package
Classes : Enrichment, Chromosome, EnrichSNP
Methods : plot, reSample, getEnrichSNP, excludeSNP, compareEnrichment,
enrichment, is.enrichment, chromosome, is.chromosome
Functions : initFiles, writeLD, readEnrichment

Examples

1
2
3
4
## Not run: data(toyEnrichment)
reSample(toyEnrichment, 10)
plot(toyEnrichment)
## End(Not run)

snpEnrichment documentation built on May 2, 2019, 8:44 a.m.