getScale {biovizBase} | R Documentation |
Trying to get scale information from a GRanges
object, used for
circular view for geom "scale".
getScale(gr, unit = NULL, n = 100, type = c("M", "B", "sci"))
gr |
a |
unit |
A numeric value for scale unit. Default |
n |
Integer value to indicate how many scale ticks to make. |
type |
unit types to shown. |
A GRanges
object, with extra column: "type" indicate it's longer
major ticks or shorter minor ticks. "scale.y" indicates y height for
major and minor ticks. Default ratio is 3:1.
Tengfei Yin