Calculate the binary reference image using linear SVM trained on manually selected pixels.
refImageBinarySVM(
dataset,
mzQueryRef = numeric(),
mzTolerance = Inf,
useFullMZ = TRUE
)
ms.image-class object with binary intensities.
msi.dataset-class object. See msiDataset.
numeric. Values of m/z used to calculate the reference image.
2 values are interpreted as interval, multiple or single values are searched
in the m/z vector. It overrides the argument useFullMZ
.
numeric (default = Inf). Tolerance in PPM to match the
mzQueryRef
values in the m/z vector.
logical (default = TRUE). Whether all the peaks should be used to calculate the reference image.