View source: R/accessorFunctions.R
scanNumber | R Documentation |
rawrrSpectrum
objectsAccessor function for scan number of rawrrSpectrum
objects
scanNumber(x)
x |
A rawrrSpectrum object |
This accessor function returns the scan number of a mass spectrum
stored as rawrrSpectrum
object. Scan numbers are equal to the scan index
j
running from 1 to n
with n
being the last scan of a raw file.
The scan number of type integer
S <- readSpectrum(rawfile = sampleFilePath(), 1:10)
scanNumber(S[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.