getPrecursorMZ {MetCirc} | R Documentation

## `getPrecursorMZ` returns precursor m/z values of an `MSP`-object

### Description

`getPrecursorMZ` returns a `numeric` vector with precursor m/z values

### Usage

    getPrecursorMZ(x)

### Arguments

`x` | object of class `MSP`

### Format

An object of class `NULL` of length 0.

### Value

`numeric`

### Functions

- `getPrecursorMZ`: returns precursor m/z values of an MSP object

### Examples

    data("sd02_deconvoluted", package = "MetCirc")
    finalMSP <- convert2MSP(sd02_deconvoluted, split = " _ ",
                             splitIndMZ = 2, splitIndRT = NULL)
    getPrecursorMZ(finalMSP)

[Package MetCirc version 1.14.0 Index]