Learn R Programming

aroma.affymetrix (version 2.5.0)

plotDensity.GenomeInformation: Plots the density of SNPs for a given chromosome

Description

Plots the density of SNPs for a given chromosome.

Usage

## S3 method for class 'GenomeInformation':
plotDensity(this, chromosome, ..., adjust=1/20, xlab=NULL, main=NULL, annotate=TRUE)

Arguments

chromosome
The chromsome to be displayed.
...
Additional arguments passed to *getPositions().
adjust
A bandwidth parameter for the density estimator.
xlab
The label on the x-axis. If NULL, a default will generated.
main
The title of the plot. If NULL, a default will generated.
annotate
If TRUE, the plot is annotated with extra information.

Value

  • Returns (invisibly) the estimated density.

See Also

For more information see GenomeInformation.