| binSupervised,msi.dataset-method | R Documentation | 
Return a binary mask generated applying a supervised classifier on peaks intensities using manually selected regions corresponding to off-sample and sample-related areas.
## S4 method for signature 'msi.dataset'
binSupervised(
  object,
  refImage,
  mzQuery = numeric(),
  mzTolerance = Inf,
  useFullMZ = TRUE,
  method = "svm",
  verbose = TRUE
)
| object | msi.dataset-class object | 
| refImage | ms.image-class object. Image used as reference to manually select the ROI pixels. | 
| mzQuery | 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  | 
| mzTolerance | numeric (default = Inf). Tolerance in PPM to match the
 | 
| useFullMZ | logical (default = 'TRUE“). Whether all the peaks should be used to perform the supervised segmentation. | 
| method | string (default = 'svm'). Supervised classifier used to segment the ROI. | 
| verbose | boolean (default = 'TRUE'). Additional output. | 
ms.image-class object representing the binary mask image.
Paolo Inglese p.inglese14@imperial.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.