writeMethodXmls {topdownr}R Documentation

Create Orbitrap Fusion method.xml files.

Description

This function is used to create Orbitrap Fusion method files from all combinations of a user-given set of MS1 and MS2 settings.

Usage

writeMethodXmls(ms1Settings, ms2Settings, groupBy = c("replication",
  "ETDReactionTime"), replications = 2, mz, massLabeling = TRUE,
  nMs2perMs1 = 10, duration = 0.5, randomise = TRUE,
  pattern = "method_%s.xml", verbose = interactive())

Arguments

ms1Settings

list, named list of MS1 settings, see e.g. defaultMs1Settings().

ms2Settings

list, named list of MS2 settings, see e.g. defaultMs2Settings().

groupBy

character, split files by groupBy entries.

replications

integer, number of replications of experiments.

mz

matrix, two columns (column 1: mass, column 2: z).

massLabeling

logical, should mz values used for ID labeling?

nMs2perMs1

integer, how many MS2 scans should be run after a MS1 scan?

duration

double, how long should the scan be?

randomise

logical, should the MS2 scan settings randomised?

pattern

character, file name pattern for the method.xml files.

verbose

logical, verbose output?

Details

Value

An invisivble list with the MS1, MS2, runtimes and mz.

Author(s)

Sebastian Gibb mail@sebastiangibb.de, Pavel V. Shliaha pavels@bmb.sdu.dk

See Also

defaultMs1Settings(), defaultMs2Settings()

Examples

writeMethodXmls(defaultMs1Settings(FirstMass=400),
                defaultMs2Settings(),
                mz=cbind(mass=c(609.21, 700.45, 823.95), z=10),
                groupBy="ETDReactionTime",
                replications=1,
                pattern="method_firstmass_400_%s.xml")

[Package topdownr version 1.2.0 Index]