prettybp: Print a bp length nicely

Description Usage Arguments See Also

Description

prettybp returns a string representation of a base pair length with optional rounding

Usage

1
prettybp(n, round.digits = 2, signif.digits = NULL, space = TRUE)

Arguments

n

base pairs

round.digits

(optional) number of digits to round to. Default is 2. Set to NULL to disable rounding. This value is ignored if signif.digits is not NULL.

signif.digits

(optional) set this if rounding to significant digits is preferred.

space

Set to false to eliminate the space between the number and unit.

See Also

draw.chrom.axis for drawing a bp scaled x-axis


sushilashenoy/zoom.plot documentation built on May 30, 2019, 8:42 p.m.