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

Description Usage Arguments Value See Also Examples

Description

calibPoints, slot of MassSpectra class objects

Usage

1
2
3
4
5
6
7
8
9
calibPoints(object)

calibPoints(object) <- value

## S4 method for signature 'MassSpectra'
calibPoints(object)

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

Arguments

object

object of class MassSpectra

value

data.frame replacement values for calibPoints slot

Value

contents of slot calibPoints

See Also

object MassSpectra other slots mz analysis analysisName instrument nz calibration

Examples

1
2
3
4
5
6
7
8
9
library(tofsimsData)
data(tofsimsData)
testSpectra<-calibPointNew(testSpectra, mz = 15, value = 15.0232)
testSpectra<-calibPointNew(testSpectra, mz = 181, value = 181.0569)
## access 'calibPoint' slot of 'MassSpectra' object
calibPoints(testSpectra)
## replacing values in the 'calibPoint' slot
calibPoints(testSpectra)[2,2]<-297000
calibPoints(testSpectra)

tofsims documentation built on April 29, 2020, 5:20 a.m.