Learn R Programming

PROcess (version 1.48.0)

is.multiple: Find multiple-charged polypeptides.

Description

For each of the polypeptides in a vector, find its multiple-charged species in the vector.

Usage

is.multiple(v, k = 2, eps = 0.003)

Arguments

v
a vector of polypeptides.
k
a vector of integers, that is, multiples of interest.
eps
a user specified precision of peak position.

Value

A list named with the m/z values of polypeptides who have multiple-charged species; each component is a named vector of polypeptides with number of charges as names.

Details

If abs(v-k*u)/v

Examples

Run this code
bmks <- c(2360.25, 2666.34, 3055.72, 3058.04, 
3776.94, 3778.24, 3779.53, 4712.37,7559.76, 4587.03, 
4589.88, 9155.59, 13298.7)
is.multiple(bmks, k=2:5)

Run the code above in your browser using DataLab