Description Usage Arguments Value Examples
View source: R/graphical-elements.R
Make a bandscale
1 | make_bandscale(range, n, pad_in = 0, pad_out = 0, reverse = F)
|
range |
<num> length of the range of the data |
n |
<num> number of steps in the range |
pad_in |
<num> fraction of step size to pad in between bands, defaults to 0. |
pad_out |
<num> fraction of step size to pad outside of first and last band, defaults to 0. |
reverse |
<lgl> if the values of the scale should be reversed. Useful for y-down vs . y-up |
A list()
with elements: range, n, step, bandwidth, pad_in
, pad_out, first, values.
1 2 | make_bandscale(127.76, 12, 0.02, 0.17) # column bands for 96 well plate
make_bandscale(87.45, 8, 0.02, 0.245) # row bands for 96 well plate
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.