Skip to content

Commit

Permalink
docs: fix comment from Andrea
Browse files Browse the repository at this point in the history
  • Loading branch information
jorainer committed Nov 30, 2023
1 parent 0e555dc commit 3ba908b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vignettes/Spectra.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ This vignette provides general examples and descriptions for the *Spectra*
package. Additional information and tutorials are available, such as
[SpectraTutorials](https://jorainer.github.io/SpectraTutorials/),
[MetaboAnnotationTutorials](https://jorainer.github.io/MetaboAnnotationTutorials),
or also in [@rainer_modular_2022]. For information how to handle and (parallel)
process large-scale data sets see the *Large-scale data handling and processing
with Spectra* vignette.
or also in [@rainer_modular_2022]. For information on how to handle and
(parallel) process large-scale data sets see the *Large-scale data handling and
processing with Spectra* vignette.


# Installation
Expand Down Expand Up @@ -958,7 +958,7 @@ them based on similar intensity values. Spectra binning ensures that the binned
m/z values are comparable across all spectra. Below we bin our spectra using a
bin size of 0.1 (i.e. all peaks with an m/z smaller than 0.1 are aggregated into
one binned peak. Below, we explicitly set `zero.rm = FALSE` to retain all bins
generated by the function, including those with an intensity of zero.
generated by the function, including those with an intensity of zero.

```{r}
sps_bin <- Spectra::bin(sps, binSize = 0.1, zero.rm = FALSE)
Expand Down

0 comments on commit 3ba908b

Please sign in to comment.