updateFileInfo {DIAlignR} | R Documentation

## Get intersection of runs and fileInfo

### Description

Get intersection of runs and fileInfo

### Usage

    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

    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)

[Package DIAlignR version 1.2.0 Index]