nz {tofsims} | R Documentation

## `nz`, slot of `MassSpectra` class objects

### Description

`nz`, slot of `MassSpectra` class objects

### Usage

    nz(object, mzRange = NULL)

    nz(object) <- value

    ## S4 method for signature 'MassSpectra,missing'
    nz(object, mzRange = NULL)

    ## S4 method for signature 'MassSpectra,numeric'
    nz(object, mzRange = NULL)

    ## S4 replacement method for signature 'MassSpectra'
    nz(object) <- value

### Arguments

`object` | object of class MassSpectra
`mzRange` | vector numeric mass values for nz matrix
`value` | matrix replacement values for nz

### Value

numeric matrix, content of nz

### See Also

object `MassSpectra` other slots `mz` `analysis` `analysisName` `instrument` `calibPoints` `calibration`

### Examples

    library(tofsimsData)
    data(tofsimsData)
    ## access main data slot
    nz(testSpectra)[,1:1000]

[Package tofsims version 1.14.0 Index]