Learn R Programming

peptider (version 0.2.2)

codons: Compute the number of codon representations for a (vector of) peptide sequence(s)

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

codons(x, libscheme, flag = FALSE)

Arguments

x
(vector) of character strings of peptide sequences.
libscheme
library scheme under which neighbors are being calculated. this is only of importance, if method="dna"
flag
internal use only: Set to true if calling this from another function

Value

vector of numbers of codons

Examples

Run this code
codons("APE", libscheme="NNK")
codons("HENNING", libscheme="NNK")

Run the code above in your browser using DataLab