readChromatogramHeader {DIAlignR} | R Documentation

## Get chromatogram header from a mzML file

### Description

Get a table of chromatogram indices and respective transition IDs.

### Usage

    readChromatogramHeader(mzmlName)

### Arguments

`mzmlName` | (char) path to mzml file.

### Value

(A data-frame) It has 10 columns. The two important columns are:

`chromatogramId` | (integer) Fragment-ion ID that matches with transition ID in osw file.
`chromatogramIndex` | (integer) Index of chromatogram in mzML file.

### Author(s)

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

ORCID: 0000-0003-3500-8152

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

### Examples

    dataPath <- system.file("extdata", package = "DIAlignR")
    mzmlName <-paste0(dataPath,"/mzml/hroest_K120809_Strep0%PlasmaBiolRepl2_R04_SW_filt.chrom.mzML")
    ## Not run:
    chromHead <- readChromatogramHeader(mzmlName = mzmlName)

    ## End(Not run)

[Package DIAlignR version 1.2.0 Index]