Learn R Programming

peptider (version 0.2.2)

detect: Detection probability in a single library of size N

Description

The probability that at least one of a number of specific peptide sequences (e. g. the `best' and closely related sequences) is contained in a library

Usage

detect(lib = libscheme("NNK", 7), size = 10^8)

Arguments

lib
library used in experiment, defaults to NNK with peptide length 7
size
size of the library, defaults to 10^8

Value

vector of detection probabilities for peptide sequences in each class

Examples

Run this code
summary(detect())

require(ggplot2)
lib <- libscheme("NNK", 7)
qplot(detect(lib, size=10^8), weight=di, geom="histogram", data=lib$data)

Run the code above in your browser using DataLab