View source: R/coverage_plots.R
xAxisScaler | R Documentation |
Works for all coverage plots, that need 0 position aligning
xAxisScaler(covPos)
covPos |
a numeric vector of positions in coverage |
It basicly bins the x axis on floor(length of x axis / 20) or 1 if x < 20
a numeric vector from the seq() function, aligned to 0.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.