genNeighbors: Calculate neighborhood distribution

Description Usage Arguments Value Examples

View source: R/peptider.r

Description

Calculate distribution of neighbors under library scheme lib for peptide sequences of length k.

Usage

1
genNeighbors(sch, k)

Arguments

sch

library scheme

k

length of the peptide sequences

Value

dataset of peptide sequences: AA are amino acid sequences, c0 are codons for self representation, cr is the ratio of #neighbors in first degree neighborhood (not counting self representations) and #codons in self representation N1 is the number of neighbors in codon representation (including self representation)

Examples

1
2
genNeighbors(scheme("NNK"), 2)
genNeighbors(scheme("2020"), 2)

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