residue_name: Translate between amino acid residue symbols

Description Usage Arguments Value Examples

View source: R/utils_pep.R

Description

Translate between amino acid residue symbols

Usage

1
residue_name(res, to = "one")

Arguments

res

A character vector of residue symbols either in one-, three- or full format

to

Which symbol to translate to, one of 'one', 'three', 'full'

Value

A character vector with the translated symbols

Examples

1
residue_name(AMINOACIDS$full, to = 'three')

leonjessen/PepTools documentation built on Feb. 23, 2018, 6:36 p.m.