Learn R Programming

peptoolkit (version 0.0.1)

increment: Increment Peptide Sequences

Description

This function generates new peptide sequences by adding each of the 20 amino acids to each position of the input peptide or peptides.

Usage

increment(peptides, num_added = 1)

Value

A character vector of new peptide sequences.

Arguments

peptides

A character vector of peptide sequences.

num_added

The number of amino acids to be added to each position of the peptide.

Examples

Run this code
increment(c("AC", "DE"))
increment("ACDE", num_added = 2)

Run the code above in your browser using DataLab