This is a high-level function to plot marker density along the chromosome. This may help in identifying regions that are poorly covered by markers and is thus helpful for troubleshooting.
A list comprising at least an element called
A numeric of length one. The length of the chromosome
(in base pairs). This is used to set the plotting window of the x-axis
from 0 to the length of the chromosome. If
A numeric of length one. The position of the center of
the gene of interest (in base pairs). This is used to add a red vertical
line at gene position. If
As the output of this function is a graphical object from package
it is possible to customize the appearance of the graph and add layers to
the graph using the syntax of this package.
A graphical object inheriting from classes
ggplot2, which can be either assigned to an object
or printed to a graphical device.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.