perBatch: Aligns an analyte across runs

Description Usage Arguments Value Author(s) See Also Examples

View source: R/align_dia_runs.R

Description

For the ith analyte in multipeptide, this function aligns all runs to the reference run. The result is a dataframe that contains aligned features corresponding to the analyte across all runs.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
perBatch(
  iBatch,
  peptideIDs,
  multipeptide,
  refRuns,
  precursors,
  prec2chromIndex,
  fileInfo,
  mzPntrs,
  params,
  globalFits,
  RSE,
  applyFun = lapply
)

Arguments

peptideIDs

(integer) vector of peptideIDs.

multipeptide

(list) contains multiple data-frames that are collection of features associated with analytes. This is an output of getMultipeptide.

refRuns

(data-frame) output of getRefRun. Must have two columsn : transition_group_id and run.

precursors

(data-frame) atleast two columns transition_group_id and transition_ids are required.

prec2chromIndex

(list) a list of dataframes having following columns:
transition_group_id: it is PRECURSOR.ID from osw file.
chromatogramIndex: index of chromatogram in mzML file.

fileInfo

(data-frame) output of getRunNames.

mzPntrs

(list) a list of mzRpwiz.

params

(list) parameters are entered as list. Output of the paramsDIAlignR function.

globalFits

(list) each element is either of class lm or loess. This is an output of getGlobalFits.

RSE

(list) Each element represents Residual Standard Error of corresponding fit in globalFits.

rownum

(integer) represnts the index of the multipepetide to be aligned.

Value

invisible NULL

Author(s)

Shubham Gupta, shubh.gupta@mail.utoronto.ca

ORCID: 0000-0003-3500-8152

License: (c) Author (2020) + GPL-3 Date: 2020-07-26

See Also

alignTargetedRuns, alignToRef, getAlignedTimes, getMultipeptide

Examples

1
dataPath <- system.file("extdata", package = "DIAlignR")

Roestlab/DIAlignR documentation built on March 3, 2021, 9:09 a.m.