Description Usage Arguments Value
View source: R/normalizations.R
NormalizeTargetPeaks: Calculates the normalization of each pixel as the sum of areas of specified peaks. The spectra that not contains target mass peaks will be removed by normalizing them by Inf.
1 | NormalizeTargetPeaks(img, mz_vector, mz_window_size = 0.1, norm_name = "SelPK")
|
img |
the rMSI image object. |
mz_vector |
a vector containing m/z values of peaks to be used for normalization. |
mz_window_size |
specifies the with of peak gaussian. Set to 0.1 Da by default which is OK for reflector TOF MALDI instrument |
norm_name |
a name to be used for the normalization. Default is set to "SelPK". |
a rMSI image containing the normalizations$<name> field
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.