readIndex: Read scan index

readIndexR Documentation

Read scan index

Description

Read scan index

Usage

readIndex(rawfile)

Arguments

rawfile

the name of the raw file containing the mass spectrometry data from the Thermo Fisher Scientific instrument.

Value

returns a data.frame with the column names scan, scanType, StartTime, precursorMass, MSOrder, charge, masterScan, and dependencyType of all spectra.

Author(s)

Tobias Kockmann and Christian Panse <cp@fgz.ethz.ch>, 2020, 2021

Examples

Idx <- rawrr::sampleFilePath() |> rawrr::readIndex()
table(Idx$scanType)
plot(Idx$StartTime, Idx$precursorMass, col=as.factor(Idx$charge), pch=16)

table(Idx$MSOrder)

fgcz/rawrr documentation built on Nov. 8, 2024, 1:31 a.m.