getRunNames {DIAlignR} | R Documentation

## Get names of all runs

### Description

Fetches all osw files, then, keeps only those runs which has corresponding mzML files. mzML file names must match with RUN.FILENAME columns of osw files.

### Usage

    getRunNames(dataPath, oswMerged = TRUE, nameCutPattern = "(.*)(/)(.*)")

### Arguments

`dataPath` | (char) Path to mzml and osw directory.
`oswMerged` | (logical) TRUE for experiment-wide FDR and FALSE for run-specific FDR by pyprophet.
`nameCutPattern` | (string) regex expression to fetch mzML file name from RUN.FILENAME columns of osw files.

### Value

(dataframe) it has two columns:

`filename` | (string) as mentioned in RUN table of osw files.
`runs` | (string) contain respective mzML names without extension.

### Author(s)

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

ORCID: 0000-0003-3500-8152

License: (c) Author (2019) + GPL-3 Date: 2019-12-14

### Examples

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

[Package DIAlignR version 0.99.12 Index]