libBuild: Build peptide library of k-length sequences according to...

Description Usage Arguments Value Examples

View source: R/peptider.r

Description

Build peptide library of k-length sequences according to specified scheme

Usage

1
libBuild(k, libscheme, scale1 = 1, scale2 = 1)

Arguments

k

length of peptide sequences

libscheme

library scheme specifying classes of amino acids according to number of encodings last class is reserved for stop tags and other amino acids we are not interested in.

scale1

Scaling factor for first probs

scale2

Scaling factor for second probs

Value

library and library scheme used

Examples

1
2
3
4
user_scheme <- data.frame(class=c("A", "B", "C", "Z"),
                          aacid=c("SLR", "AGPTV", "CDEFHIKMNQWY", "*"),
                          c=c(3,2,1,1))
user_library <- libBuild(3, user_scheme)

peptider documentation built on May 29, 2017, 3:58 p.m.