knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  out.width = "100%"
)

There are also a lot of useful tools in metid.

library(metid)
library(tidyverse)

Read MS2 data

Read msp format file using readMGF

result <- readMGF(file)

Read mzXML format file using readMZXML

result <- readMZXML(file, threads = 3)

Read MGF format file using readMGF

result <- readMGF(file)

Show metid version and logo

metid::metid_logo()

Session information

sessionInfo()


tidymass/metid documentation built on Sept. 14, 2024, 4:43 p.m.