Skip to content

Commit

Permalink
- update manual
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-enzlein committed Aug 13, 2024
1 parent 2690ecf commit ea1c0e9
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# M²ara - MALDI MS Bioassays Evaluation and Classification App

M²ara is a software tool to facilitate the exploration of metabolomic responses in complex matrix-assisted laser desorption/ionization mass spectrometry (MALDI MS) bioassays. The app is intented for the evaluation of metabolomic drug actions by using the mass-to-charge ratios of hundreds of metabolites and it is particularly useful in defining novel pharmacodynamic biomarkers for high-throughput applications.
M²ara is a software tool to facilitate the exploration of metabolomic responses in complex matrix-assisted laser desorption/ionization mass spectrometry (MALDI MS) bioassays. The app is intended for the evaluation of metabolomic drug actions by using the mass-to-charge ratios of hundreds of metabolites and it is particularly useful in defining novel pharmacodynamic biomarkers for high-throughput applications.

M²ara is based on the R package [MALDIcellassay](https://github.com/CeMOS-Mannheim/MALDIcellassay) (published in [Unger et. al. 2021](https://www.nature.com/articles/s41596-021-00624-z), Nature Protocols) and extends its capabilities with a GUI and adds helpful features like clustering of curves, PCA analysis as well as the Curve Response Score (CRS) which enables fast screening for molecules regulated by drug treatment.

Expand Down
25 changes: 21 additions & 4 deletions manual.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,26 @@ This is **M2ara**, a shiny application based on the R-package `MALDIcellassay` w

This manual describes some of the details of the inner-workings of the `MALDIcellassay`-package and how this shiny application (**M2ara**) is supposed to be used.

The following features were already part of `MALDIcellassay`:

- pre-processing though the `MALDIquant`-package
- re-calibration to a single *m/z* (single point-re-calibration)
- normalization to a single *m/z*
- fitting curves to the data using the `nplr`-package

**M2ara** adds the following features:

- graphical user interface
- interactive data exploration
- support for [mzML](#mzml) data \*
- calculation of quality metrics (Z', V', log2FC, CRS) \*
- feature ranking by metric \*
- principle component analysis (PCA)
- curve clustering
- outlier detection \*

\* The features marked with a asterisks were re-implemented to `MALDIcellassay`.

## General information

The blue question mark icons (`r icon("question-circle")`) throughout the application can be clicked and provide further information on the specific settings.
Expand Down Expand Up @@ -165,16 +185,13 @@ knitr::include_graphics("figures/clustering_metrics.png")

### Settings tab


```{r, echo=FALSE, out.width="33%", fig.cap="Settings tab"}
knitr::include_graphics("figures/settings.png")
```

The `File format`-menu can be used to select between Bruker raw data of mzML format (see [Requirements to the raw data](#requirements-to-the-raw-data)).

The `Conc. mapping` upload button enables the upload of a mapping file containing one concentration for each spectrum.
It needs to be in the *.txt-format and needs to contain one concentration (dont include units!) per line, one for each spectrum.
The file needs to be uploaded before the spectra are loaded using the button on the sidebar if the mapping should be used.
The `Conc. mapping` upload button enables the upload of a mapping file containing one concentration for each spectrum. It needs to be in the \*.txt-format and needs to contain one concentration (dont include units!) per line, one for each spectrum. The file needs to be uploaded before the spectra are loaded using the button on the sidebar if the mapping should be used.

The `Peak window size` and `Peak method` setting enables to change the peak detection. Usually a `Peak window size` of 20 and the *SuperSmoother* method should lead to good results. Sometimes, especially if a small peak is close to a large one, this small peak might not be detected. In this cases the `Peak window size` can be decreased or if this is still not enough the *MAD* peak detection method can be chosen. Please note that both will lead to much more signals being considered as valid peaks, so it makes sense to increase SNR at the same time.

Expand Down
24 changes: 20 additions & 4 deletions manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,25 @@ This is **M2ara**, a shiny application based on the R-package `MALDIcellassay` w

This manual describes some of the details of the inner-workings of the `MALDIcellassay`-package and how this shiny application (**M2ara**) is supposed to be used.

The following features were already part of `MALDIcellassay`:

- pre-processing though the `MALDIquant`-package
- re-calibration to a single **m/z** (single point-re-calibration)
- normalization to a single **m/z**
- fitting curves to the data using the `nplr`-package

**M2ara** adds the following features:

- graphical user interface
- interactive data exploration
- support for [mzML](#mzml) data \*
- calculation of quality metrics (Z', V', log2FC, CRS) \*
- principle component analysis (PCA)
- curve clustering
- outlier detection \*

\* The features marked with a asterisks were re-implemented to `MALDIcellassay`.

## General information

The blue question mark icons (<!--html_preserve--><i class="far fa-circle-question" role="presentation" aria-label="circle-question icon"></i><!--/html_preserve-->) throughout the application can be clicked and provide further information on the specific settings.
Expand Down Expand Up @@ -170,17 +189,14 @@ Using the slider the user needs to adjust the number of clusters to a reasonable

### Settings tab


<div class="figure">
<img src="figures/settings.png" alt="Settings tab" width="33%" />
<p class="caption">Settings tab</p>
</div>

The `File format`-menu can be used to select between Bruker raw data of mzML format (see [Requirements to the raw data](#requirements-to-the-raw-data)).

The `Conc. mapping` upload button enables the upload of a mapping file containing one concentration for each spectrum.
It needs to be in the *.txt-format and needs to contain one concentration (dont include units!) per line, one for each spectrum.
The file needs to be uploaded before the spectra are loaded using the button on the sidebar if the mapping should be used.
The `Conc. mapping` upload button enables the upload of a mapping file containing one concentration for each spectrum. It needs to be in the \*.txt-format and needs to contain one concentration (dont include units!) per line, one for each spectrum. The file needs to be uploaded before the spectra are loaded using the button on the sidebar if the mapping should be used.

The `Peak window size` and `Peak method` setting enables to change the peak detection. Usually a `Peak window size` of 20 and the *SuperSmoother* method should lead to good results. Sometimes, especially if a small peak is close to a large one, this small peak might not be detected. In this cases the `Peak window size` can be decreased or if this is still not enough the *MAD* peak detection method can be chosen. Please note that both will lead to much more signals being considered as valid peaks, so it makes sense to increase SNR at the same time.

Expand Down

0 comments on commit ea1c0e9

Please sign in to comment.