increment {mzID} | R Documentation |
increment looks for a counter in the data environment of mzIDCollection objects and increments it by one if it exists. Otherwise it initialises the counter to 1. It returns the value of the counter.
increment(object) ## S4 method for signature 'mzIDCollection' increment(object)
object |
An mzIDCollection object |
An integer given the current count
mzIDCollection
: Increment the counter in mzIDcollection objects