Description Usage Arguments Value Author(s) Examples
scale x by unit 'Mb','kb', 'bp'.
1 | scale_x_sequnit(unit = c("Mb", "kb", "bp"), append = NULL)
|
unit |
unit to scale x. Default is Mb. |
append |
default |
'position_c'
Tengfei Yin
1 2 3 4 5 6 7 | library(ggplot2)
p <- qplot(x = seq(1, to = 10000, length.out = 40), y = rnorm(40), geom
= "point")
## default mb
p + scale_x_sequnit()
p + scale_x_sequnit("kb")
p + scale_x_sequnit("bp")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.