mapPrecursorToChromIndices {DIAlignR} | R Documentation

## Merge precursor and transitions mapping with chromatogram header

### Description

Merges dataframes on transition_ids(OSW) = chromatogramId(mzML).

### Usage

    mapPrecursorToChromIndices(prec2transition, chromHead)

### Arguments

`prec2transition` | (dataframe) This has two columns: transition_group_id and transition_ids with integer values.
`chromHead` | (dataframe) This has two columns: chromatogramId and chromatogramIndex with integer values.

### Value

(dataframe) having following columns:

`transition_group_id` | (string) it is either fetched from PRECURSOR.GROUP_LABEL or a combination of PEPTIDE.MODIFIED_SEQUENCE and PRECURSOR.CHARGE from 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: 2020-04-07

### See Also

`getChromatogramIndices`

[Package DIAlignR version 1.2.0 Index]