updateFileInfo: Get intersection of runs and fileInfo

Description Usage Arguments Value Author(s) Examples

View source: R/get_filenames.R

Description

Get intersection of runs and fileInfo

Usage

1
updateFileInfo(fileInfo, runs = NULL)

Arguments

fileInfo

(data-frame) output of getRunNames function.

runs

(vector of string) names of mzML files without extension.

Value

(dataframe) it has five columns:

spectraFile

(string) as mentioned in RUN table of osw files.

runName

(string) contain respective mzML names without extension.

spectraFileID

(string) ID in RUN table of osw files.

featureFile

(string) path to the feature file.

chromatogramFile

(string) path to the chromatogram file.

Author(s)

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

ORCID: 0000-0003-3500-8152

License: (c) Author (2020) + GPL-3 Date: 2020-04-15

Examples

1
2
3
4
5
dataPath <- system.file("extdata", package = "DIAlignR")
fileInfo <- getRunNames(dataPath = dataPath, oswMerged = TRUE)
runs <- c("hroest_K120809_Strep0%PlasmaBiolRepl2_R04_SW_filt",
          "hroest_K120808_Strep10%PlasmaBiolRepl1_R03_SW_filt")
updateFileInfo(fileInfo, runs)

Roestlab/DIAlign documentation built on Feb. 25, 2021, 5:18 p.m.