nz: 'nz', slot of 'MassSpectra' class objects

Description Usage Arguments Value See Also Examples

Description

nz, slot of MassSpectra class objects

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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

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

tofsims documentation built on Nov. 8, 2020, 5:10 p.m.