Learn R Programming

tofsims (version 1.0.2)

peakIDs: peakIDs, slot of PeakList class objects

Description

peakIDs, slot of PeakList class objects

Usage

peakIDs(object)

peakIDs(object) <- value

## S3 method for class 'PeakList': peakIDs(object)

## S3 method for class 'PeakList': peakIDs(object) <- value

Arguments

object
object of class PeakList
value
data.frame

Value

  • content of slot peakIDs

Examples

Run this code
library(tofsimsData)
data(tofsimsData)
testSpectra<-calibPointNew(testSpectra, mz = 15, value = 15.01551)
testSpectra<-calibPointNew(testSpectra, mz = 181, value = 181.0228)
testSpectra<-recalibrate(testSpectra)
testSpectra<-unitMassPeaks(testSpectra, mzRange = c(1,200), widthAt = c(15, 181), 
factor = c(0.4, 0.6), lower = c(14.97, 15.05), upper = c(180.84, 181.43))
peakIDs(testSpectra)[,1:10]

Run the code above in your browser using DataLab