The provided R script allows users to take an MS1 spectra list as input and divide it into N bins with an equal number of precursors in each bin. This is usually done in order to design isolation windows for BoxCar acquistion in LC-MS/MS proteomics.
Mehta D, Scandola S, Uhrig RG (2020) BoxCar and library-free data-independent acquisition substantially improve the depth, range, and completeness of label-free quantitative proteomics in Arabidopsis. bioRxiv.doi: https://doi.org/10.1101/2020.11.07.372276