xAxisScaler {ORFik} | R Documentation

## Scale x axis correctly

### Description

Works for all coverage plots, that need 0 position aligning

### Usage

    xAxisScaler(covPos)

### Arguments

`covPos` | a numeric vector of positions in coverage

### Details

It basicly bins the x axis on floor(length of x axis / 20) or 1 if x < 20

### Value

a numeric vector from the seq() function, aligned to 0.

[Package ORFik version 1.12.13 Index]