plotomics
    Preparing search index...

    Function rangeTicks

    • Whole-number ticks along a 1-based axis from 1 to length (residues, positions): round multiples of a 1, 2 or 5 step, with 1 and length at the ends. An end replaces a round tick that sits too close to it, so two labels never print on top of each other.

      Parameters

      • length: number
      • count: number = 6

      Returns number[]