add_id: Manually add an identification from e.g. MS/MS

Description Usage Arguments Value Author(s) See Also

Description

Manually add identifications to a pepmatched object. This can both be used as an extension to mass match, or without mass matching.

Usage

1
add_id(pepmatched, ID_vector, name_vector, pepseq_vector, pepmass_vector)

Arguments

pepmatched

Input object of class pepmatched, generated by the pepmatch() or pep.id() function of this package.

ID_vector

A character vector with the IDs of the features that get the identifications. This is the value of the first column of the "matchlist". See vignette for an example. Can also be a single character string.

name_vector

A character vector with the same length as the ID_vector, containing the names of the peptides.

pepseq_vector

Optional character vector with the peptide sequences of the identifications to be added.

pepmass_vector

Optional numeric vector with the precise masses of the identifications to be added.

Value

An object of class pepmatched with added identifications that can serve as input to downstream labelpepmatch functions.

Author(s)

Rik Verdonck

See Also

pep.id, pep.massmatch


goat-anti-rabbit/labelpepmatch.R documentation built on May 17, 2019, 7:29 a.m.