Learn R Programming

peptider (version 0.2.2)

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

Description

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

Usage

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

Run this code
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)

Run the code above in your browser using DataLab