translate_aminoacids {MDplot}R Documentation

Function to translate between canonical and GROMOS amino acid abbreviations

Description

Converts an aminoacid naming scheme in the context of GROMOS (e.g. containing HISH) into canonical three- or one-letter codes.

Usage

translate_aminoacids( input,
                      switchMode )

Arguments

input

Vector of GROMOS abbreviations.

switchMode

Type "1" results in single-letter, type "2" in three-letter code.

Author(s)

Christian Margreitter

Examples

translate_aminoacids( c( "ALA", "HISA", "SER" ),
                      switchMode = 2 )

[Package MDplot version 1.0.1 Index]