readRaw: Reads selected raw file trailer information for rawDiag plot...

View source: R/rawDiag.R

readRawR Documentation

Reads selected raw file trailer information for rawDiag plot functions

Description

implements a wrapper function using the rawrr methods readIndex, readTrailer, and readChromatogram to read proprietary mass spectrometer generated data using third-party libraries.

Usage

readRaw(
  rawfile,
  msgFUN = function(x) {
     message(x)
 }
)

Arguments

rawfile

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

msgFUN

this function is used for logging information while composing the resulting data.frame. It can also be used for shiny progress bar. The default is using the message.

Value

a data.frame containing the selected trailer information.

Note

The set up procedure for the rawrr package needs to be run in order to use this package.

Author(s)

Christian Panse (2016-2023)

References

\Sexpr[results=rd]{tools:::Rd_expr_doi("10.1021/acs.jproteome.8b00173")}

Examples

rawrr::sampleFilePath() |>
  rawDiag::readRaw()

fgcz/rawDiag documentation built on May 5, 2024, 4:23 a.m.