Learn R Programming

peptider (version 0.2.2)

genNeighbors_reduced: Calculate neighborhood distribution

Description

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

Usage

genNeighbors_reduced(sch, k)

Arguments

sch
library scheme
k
length of the peptide sequences

Value

dataset of peptide sequences: L 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) s is the number of peptide sequences described by the label o is the number of peptide sequences reached by permutations

Examples

Run this code
genNeighbors_reduced(scheme("NNK"), 2)
genNeighbors_reduced(scheme("2020"), 2)

Run the code above in your browser using DataLab