View source: R/binary_refimg.R
refImageBinarySVM | R Documentation |
Calculate the binary reference image using linear SVM trained on manually selected pixels.
refImageBinarySVM(
dataset,
mzQueryRef = numeric(),
mzTolerance = Inf,
useFullMZ = TRUE
)
dataset |
msi.dataset-class object. See msiDataset. |
mzQueryRef |
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 |
mzTolerance |
numeric (default = Inf). Tolerance in PPM to match the
|
useFullMZ |
logical (default = TRUE). Whether all the peaks should be used to calculate the reference image. |
ms.image-class object with binary intensities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.