Learn R Programming

snpEnrichment (version 1.1-3)

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

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

## S3 method for class 'Enrichment':
plot(x, chrNumber = NULL, types = c("eSNP", "xSNP"), ...)

Arguments

x
[Enrichment]: an object of class Enrichment which the Z statistics have to be drawn.
chrNumber
[vector(numeric)]: chrNumber=NULL (default) plot Z statistics for the whole genome and all chromosomes or the selected chromosomes.
types
[vector(character)]: plot the selected analysis for "eSNP" and/or "xSNP".
...
[any]: Arguments to be passed to methods, such as graphical parameters (see par)

See Also

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

Examples

Run this code
# data(toyM1)
# reSample(toyM1)
# plot(toyM1)

Run the code above in your browser using DataLab