Learn R Programming

tofsims (version 1.0.2)

nz: nz, slot of MassSpectra class objects

Description

nz, slot of MassSpectra class objects

Usage

nz(object, mzRange = NULL)

nz(object) <- value

## S3 method for class 'MassSpectra,missing': nz(object, mzRange = NULL)

## S3 method for class 'MassSpectra,numeric': nz(object, mzRange = NULL)

## S3 method for class '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

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

Run the code above in your browser using DataLab