Learn R Programming

aroma.affymetrix (version 3.2.2)

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 GenomeInformation
plotDensity(this, chromosome, ..., adjust=1/20, xlab=NULL, main=NULL, annotate=TRUE)

Value

Returns (invisibly) the estimated density.

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.

See Also

For more information see GenomeInformation.