recreateExData: Re-create example data

View source: R/recreateExData.R

recreateExDataR Documentation

Re-create example data

Description

This function is for internal use only. It re-creates the example data used within the package.

Usage

recreateExData(
  pathToImzml,
  pathToSingleSpctr = NULL,
  pathToSldb = NULL,
  pathToMtspc = NULL,
  shrink = TRUE,
  saveTo = getwd()
)

Arguments

pathToImzml:

path to imzML file.

pathToSingleSpctr:

path to the single spectrum tsv file.

pathToSldb:

path to the swisslipids database tsv file.

pathToMtspc:

path to the Metaspace annotation csv file.

shrink:

whether to shrink the msData to only retain the identified m/z in the Metaspace annotation file.

saveTo:

where to save the resulting example data.

Value

Saves a RData file of the example data.


CeMOS-Mannheim/moleculaR documentation built on April 14, 2025, 8:27 a.m.