Although originally developed for liquid chromatography-tandem mass spectrometry (LC-MS/MS) data, CluMSID can also be used with direct infusion-tandem mass spectrometry (DI-MS/MS) data.
Generally, the missing retention time dimension makes feature annotation in metabolomics harder but if only direct infusion data is at hand, CluMSID can help to get an overview of the chemodiversity of a sample measured by DI-MS/MS.
In this example, we will use a similar sample (1uL Pseudomonas aeruginosa PA14 cell extract) as in the General Tutorial, measured on the same machine, a Bruker maxisHD qTOF operated in ESI-(+) mode with auto-MS/MS but without chromatographic separation.
We load the file from the
The extraction of spectra works the same way as with LC-MS/MS data:
Merging of redundant spectra is less straightforward when retention time is not available. Depending on the MS/MS method it can be next to impossible to decide whether two spectra with the same precursor m/z and similar fragmentation patterns derive from the same analyte or from two different but structurally similar ones.
In this example, we would like to merge spectra with identical precursor ions only if they were recorded one right after another. We can do so by setting
rt_tolerance to 1 second:
We see that we have hardly reduced the number of spectra in the list. If we would decide to merge all spectra with identical precursor m/z from the entire run, we could do so by setting
rt_tolerance to the duration of the run, in this case approx. 250 seconds:
The resulting number of spectra is drastically lower but the danger of merging spectra that do not actually derive from the same analyte is also very big.
In this very explorative example, we skip the integration of previous knowledge on feature identities and generate a distance matrix right away:
Starting from this distance matrix, we can use all the data exploration functions that
CluMSID offers. In this example workflow, we look at a cluster dendrogram:
It is directly obvious that we have some spectra that are nearly identical and thus most likely derive from the same analyte, e.g. the many spectra with a precursor m/z of 270.19. But we still see nice clustering of similar spectra with different precursor m/z, e.g. the huge gray cluster that contains a lot of different alkylquinolone type metabolites (see General Tutorial).
In conclusion, CluMSID is very useful to provide an overview of spectral similarities within DI-MS/MS runs but wherever annotation is in the focus, one should not do without the additional layer of information created by chromatographic separation.
sessionInfo() #> R version 4.2.0 RC (2022-04-19 r82224) #> Platform: x86_64-pc-linux-gnu (64-bit) #> Running under: Ubuntu 20.04.4 LTS #> #> Matrix products: default #> BLAS: /home/biocbuild/bbs-3.15-bioc/R/lib/libRblas.so #> LAPACK: /home/biocbuild/bbs-3.15-bioc/R/lib/libRlapack.so #> #> locale: #>  LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C #>  LC_TIME=en_GB LC_COLLATE=C #>  LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 #>  LC_PAPER=en_US.UTF-8 LC_NAME=C #>  LC_ADDRESS=C LC_TELEPHONE=C #>  LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C #> #> attached base packages: #>  stats graphics grDevices utils datasets methods base #> #> other attached packages: #>  CluMSIDdata_1.11.0 CluMSID_1.12.0 #> #> loaded via a namespace (and not attached): #>  nlme_3.1-157 ProtGenerics_1.28.0 bitops_1.0-7 #>  httr_1.4.2 doParallel_1.0.17 RColorBrewer_1.1-3 #>  MSnbase_2.22.0 tools_4.2.0 bslib_0.3.1 #>  utf8_1.2.2 R6_2.5.1 affyio_1.66.0 #>  KernSmooth_2.23-20 lazyeval_0.2.2 DBI_1.1.2 #>  BiocGenerics_0.42.0 colorspace_2.0-3 tidyselect_1.1.2 #>  GGally_2.1.2 compiler_4.2.0 preprocessCore_1.58.0 #>  cli_3.3.0 Biobase_2.56.0 network_1.17.1 #>  plotly_4.10.0 sass_0.4.1 caTools_1.18.2 #>  scales_1.2.0 affy_1.74.0 stringr_1.4.0 #>  digest_0.6.29 dbscan_1.1-10 rmarkdown_2.14 #>  pkgconfig_2.0.3 htmltools_0.5.2 highr_0.9 #>  fastmap_1.1.0 limma_3.52.0 htmlwidgets_1.5.4 #>  rlang_1.0.2 impute_1.70.0 jquerylib_0.1.4 #>  generics_0.1.2 jsonlite_1.8.0 mzID_1.34.0 #>  statnet.common_4.5.0 BiocParallel_1.30.0 gtools_3.9.2 #>  dplyr_1.0.8 magrittr_2.0.3 MALDIquant_1.21 #>  Rcpp_126.96.36.199 munsell_0.5.0 S4Vectors_0.34.0 #>  fansi_1.0.3 ape_5.6-2 MsCoreUtils_1.8.0 #>  lifecycle_1.0.1 vsn_3.64.0 stringi_1.7.6 #>  yaml_2.3.5 MASS_7.3-57 zlibbioc_1.42.0 #>  gplots_3.1.3 plyr_1.8.7 grid_4.2.0 #>  parallel_4.2.0 crayon_1.5.1 lattice_0.20-45 #>  mzR_2.30.0 sna_2.6 knitr_1.38 #>  pillar_1.7.0 codetools_0.2-18 stats4_4.2.0 #>  XML_3.99-0.9 glue_1.6.2 evaluate_0.15 #>  data.table_1.14.2 pcaMethods_1.88.0 BiocManager_1.30.17 #>  vctrs_0.4.1 foreach_1.5.2 tidyr_1.2.0 #>  gtable_0.3.0 purrr_0.3.4 clue_0.3-60 #>  reshape_0.8.9 assertthat_0.2.1 ggplot2_3.3.5 #>  xfun_0.30 coda_0.19-4 viridisLite_0.4.0 #>  ncdf4_1.19 tibble_3.1.6 iterators_1.0.14 #>  IRanges_2.30.0 cluster_2.1.3 ellipsis_0.3.2