Learn R Programming

peptider (version 0.2.2)

diversity: Diversity according to peptides paper (Sieber)

Description

Diversity according to peptides paper (Sieber)

Usage

diversity(k, libscheme, N, lib = NULL, variance = FALSE)

Arguments

k
length of peptide sequences
libscheme
Name (character vector) or definition (data frame) of scheme
N
size of the library
lib
library scheme
variance
return the variance instead of the expected value

Value

Expected Diversity of the library

Examples

Run this code
diversity(2, "NNN", 10^3)
diversity(2, "NNK", 10^3)

Run the code above in your browser using DataLab