When added to a ggplot, will set the X axis to represent genomic coordintes data, by rounding X axis labels to Mb and showing the chromosome number as an X axis title.

scaleXCoordinates(chr, ...)

Arguments

chr

Logical indicating if the title of the axis should be included. Default = FALSE.

...

Additional parameters to pass to scale_x_continuous function.