@@ -231,7 +231,7 @@ rtime(sps_all) |> head()
231231```
232232
233233Our ` Spectra ` object contains information from in total ` r length(sps_all) `
234- spectra from ` length(unique(dataOrigin(sps_all))) ` mzML files. By using the
234+ spectra from ` r length(unique(dataOrigin(sps_all)))` mzML files. By using the
235235` MsBackendMzR ` backend, only general information about each spectrum is kept in
236236memory resulting in a low memory footprint.
237237
@@ -466,7 +466,7 @@ mbank <- Spectra(mb)
466466```
467467
468468The ` Spectra ` object ` mbank ` * represents* now the MS data from the
469- MassBank database with in total ` length(mbank) ` spectra. In fact, the ` mbank `
469+ MassBank database with in total ` r length(mbank)` spectra. In fact, the ` mbank `
470470object itself does not contain any MS data, but only the primary keys of the
471471spectra in the MassBank database. Hence, it has also a relatively low memory
472472footprint.
@@ -720,7 +720,7 @@ spectraVariables(hmdb)
720720
721721Also here, we want to filter the data resource first for spectra with a matching
722722precursor m/z. Unfortunately, HMDB does not provided the spectra's precursor m/z
723- and we hence need to used the ` containsMz ` function to find spectra containing a
723+ and we hence need to use the ` containsMz ` function to find spectra containing a
724724peak with an m/z matching the m/z of our ion of interest. In addition, We need
725725to use a rather large ` tolerance ` value (which defines the maximal acceptable
726726absolute difference in m/z values) since some of the experimental spectra in
0 commit comments