ppeptide: Probability of detection of a peptide sequence

Description Usage Arguments Value Examples

View source: R/peptider.r

Description

use this function for only a few peptide sequences. Any larger number of peptide sequences should be dealt with in the framework of the library scheme and the detect function.

Usage

1

Arguments

x

(vector) of character strings of peptide sequences.

libscheme

library scheme under which neighbors are being calculated.

N

number of valid DNA clones investigated

Value

probability of detection

Examples

1
2
ppeptide("APE", libscheme="NNK", N=10^8)
ppeptide("HENNING", libscheme="NNK", N=10^8)

Example output

[1] 1
[1] 0.007243035

peptider documentation built on May 2, 2019, 2:43 a.m.