Skip to content

Commit 65cc7b4

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 97f2e78 + cb99188 commit 65cc7b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vignettes/analyzing-MS-data-from-different-sources-with-Spectra.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ rtime(sps_all) |> head()
231231
```
232232

233233
Our `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
236236
memory resulting in a low memory footprint.
237237

@@ -466,7 +466,7 @@ mbank <- Spectra(mb)
466466
```
467467

468468
The `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`
470470
object itself does not contain any MS data, but only the primary keys of the
471471
spectra in the MassBank database. Hence, it has also a relatively low memory
472472
footprint.
@@ -720,7 +720,7 @@ spectraVariables(hmdb)
720720

721721
Also here, we want to filter the data resource first for spectra with a matching
722722
precursor 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
724724
peak with an m/z matching the m/z of our ion of interest. In addition, We need
725725
to use a rather large `tolerance` value (which defines the maximal acceptable
726726
absolute difference in m/z values) since some of the experimental spectra in

0 commit comments

Comments
 (0)