writeTables {DIAlignR} | R Documentation

## Writes the output table post-alignment

### Description

Selects all features from multipeptide with alignment rank = 1, and write them onto the disk.

### Usage

    writeTables(filename, fileInfo, multipeptide, precursors)

### Arguments

`filename` | (string) Name of the output file.
`fileInfo` | (data-frame) Output of getRunNames function.
`multipeptide` | (list of data-frames) Each element of the list is collection of features associated with a precursor.
`precursors` | (data-frame) for each transition_group_id, contains peptide sequence and charge.

### Value

An output table with following columns: precursor, run, intensity, RT, leftWidth, rightWidth, peak_group_rank, m_score, alignment_rank, peptide_id, sequence, charge, group_label.

### Author(s)

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

ORCID: 0000-0003-3500-8152

License: (c) Author (2020) + GPL-3 Date: 2020-04-14

### See Also

`getRunNames, getMultipeptide, getPrecursors`

### Examples

    data(oswFiles_DIAlignR, package="DIAlignR")
    ## Not run:
    writeTables("DIAlignR.csv", fileInfo, multipeptide, precursors)

    ## End(Not run)

[Package DIAlignR version 1.2.0 Index]