Gb_lab {pafr} | R Documentation |
Number formatters for scales in base pairs
Description
For use with ggplot2
Usage
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
## Not run:
ali <- read_paf(system.file("extdata", "fungi.paf", package="pafr"))
doplot(ali) + scale_x_continuous("Genomic position", label=Mb_lab)
## End(Not run)
[Package pafr version 0.0.2 Index]