Plots the density of SNPs for a given chromosome

Description

Plots the density of SNPs for a given chromosome.

Usage

1
2
## 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.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.