libscheme: Get the specified library scheme

Description Usage Arguments Value Examples

View source: R/peptider.r

Description

Get the specified library scheme

Usage

1
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

1
2
3
4
5
6
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)

heike/peptider documentation built on May 17, 2019, 3:24 p.m.