get.SingleLetterCode: get.SingleLetterCode

Description Usage Arguments Details Value Examples

Description

This function takes in the 3 letter amino acid representation and returns the 1 letter representation.

Usage

1

Arguments

code

The 3 letter code in all capital letters.

Details

If the 3 letter code is not found (either because it does not exist or because it is not in all capital letters), an "X" is returned.

This function is used as a helper function of get.AlignedPositions and get.Positions. It is not necessary to invoke it independently and we include it here solely as a matter of convenience for the user.

Value

An amino acid single letter code returned as a string. The string will be an element in:

{"P","A","V","L","I","M","C","F","Y","W","H","K","R","Q","N","E","D","S","T","X"}.

Examples

1
2
3
4
5
6
7

gryslik/iPAC documentation built on May 18, 2019, 3:42 p.m.