is.multiple: Find multiple-charged polypeptides.

Description Usage Arguments Details Value Examples

View source: R/is.multiple.R

Description

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

Usage

1
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.

Details

If abs(v-k*u)/v <= eps, then v is considered to be u with k charges.

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.

Examples

1
2
3
4
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)

PROcess documentation built on Nov. 8, 2020, 5:44 p.m.