For use with ggplot2

Gb_lab(x)

Mb_lab(x)

Kb_lab(x)

Arguments

x

The data (in base pairs) to be formatted as Gb, Mb or Kb

Value

A character vector with scale labels

Examples

if (FALSE) { ali <- read_paf(system.file("extdata", "fungi.paf", package="pafr")) doplot(ali) + scale_x_continuous("Genomic position", label=Mb_lab) }