Plots the density of SNPs for a given chromosome.
# S3 method for GenomeInformation
plotDensity(this, chromosome, ..., adjust=1/20, xlab=NULL, main=NULL, annotate=TRUE)
Returns (invisibly) the estimated density.
The chromsome to be displayed.
Additional arguments passed to *getPositions()
.
A bandwidth parameter for the density estimator.
The label on the x-axis. If NULL
, a default will generated.
The title of the plot. If NULL
, a default will generated.
If TRUE
, the plot is annotated with extra information.
For more information see GenomeInformation
.