scaleXCoordinates: X axis for genomic coordinates

View source: R/themesBlank.R

scaleXCoordinatesR Documentation

X axis for genomic coordinates

Description

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.

Usage

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.


mireia-bioinfo/plotRegulome documentation built on July 3, 2024, 3:34 p.m.