Learn R Programming

peptider (version 0.2.2)

libscheme: Get the specified library scheme

Description

Get the specified library scheme

Usage

libscheme(schm, k = 1)

Arguments

schm
either a character vector giving the name of a built-in scheme, or a data frame consisting of the scheme definition
k
length of peptide sequences

Value

list consisting of a data frame of peptide classes, size of class, and its probabilities, and a list of additional information relating to the library scheme

Examples

Run this code
libscheme("NNN")
libscheme("NNK", 2)

# Build a custom 20/20 library
custom <- data.frame(class = c("A", "Z"), aacid = c("SLRAGPTVIDEFHKNQYMW", "*"), c = c(1, 0))
libscheme(custom)

Run the code above in your browser using DataLab