Find peaks in window of size 2*neighbors + 1 and label m/z integers within the error as peaks. Returns vector of peak m/z integers.

1 | ```
binary_peaks(df, neighbors, error = 0)
``` |

`df` |
Data frame of m/z and intensities |

`neighbors` |
Number of neighboring m/z values to compare on right and left |

`error` |
m/z Decimal error value |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.