make_peptides: Make peptides

View source: R/ch_functions.R

make_peptidesR Documentation

Make peptides

Description

Get possible peptide designs across different lengths and overlaps.

Usage

make_peptides(sequence, lengths = 15:20, min_overlap = 2, min_shift = 1)

Arguments

sequence

string with amino acid sequence to make peptides from, see Examples for how to use with the Clipboard.

lengths

number of amino acids per peptide, can be a vector of lenghts.

min_overlap

the shortest allowed overlap between peptides

min_shift

the shortest allowed shift between peptides

Value

A list with one element per design

Examples

## The input sequence can easily be copied from wherever,
    like Excel, LIMS etc and used directly in the function:
## on PC
make_peptides(readClipboard())

## on MAC
make_peptides(t(read.table(pipe("pbpaste"), stringsAsFactors = FALSE)))


cekehe/rappp documentation built on May 17, 2022, 8:54 a.m.