selectChromIndices {DIAlignR} | R Documentation

## Chromatogram indices of analyte in a run.

### Description

select chromatogram indices by matching analyte and runname in oswFiles.

### Usage

    selectChromIndices(oswFiles, runname, analyte)

### Arguments

`oswFiles` | (list of data-frames) it is the output from getOswFiles function.
`runname` | (string) Must be a combination of "run" and an iteger e.g. "run2".
`analyte` | (string) analyte is as PRECURSOR.GROUP_LABEL or as PEPTIDE.MODIFIED_SEQUENCE and PRECURSOR.CHARGE from osw file.

### Value

A vector of Integers

### Author(s)

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

ORCID: 0000-0003-3500-8152

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

### See Also

`getOswFiles, getOswAnalytes`

### Examples

    data(oswFiles_DIAlignR, package="DIAlignR")
    ## Not run:
    selectChromIndices(oswFiles = oswFiles_DIAlignR, runname = "run2", analyte = "AQPPVSTEY_2")
    selectChromIndices(oswFiles = oswFiles_DIAlignR, runname = "run0",
     analyte = "14299_QFNNTDIVLLEDFQK/3")

    ## End(Not run)

[Package DIAlignR version 0.99.12 Index]