For use with ggplot2
Gb_lab(x) Mb_lab(x) Kb_lab(x)
x | The data (in base pairs) to be formatted as Gb, Mb or Kb |
---|
A character vector with scale labels
if (FALSE) { ali <- read_paf(system.file("extdata", "fungi.paf", package="pafr")) doplot(ali) + scale_x_continuous("Genomic position", label=Mb_lab) }