codons: Compute the number of codon representations for a (vector of)...

Description Usage Arguments Value Examples

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
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

1
2
codons("APE", libscheme="NNK")
codons("HENNING", libscheme="NNK")


Search within the peptider package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.