util.seq | R Documentation |
Return names or one- or three-letter abbreviations of amino acids.
aminoacids(nchar = 1, which = NULL)
nchar |
numeric, |
which |
character, which amino acids to name |
aminoacids
returns the one-letter abbreviations (nchar
=‘1’) or the three-letter abbreviations (nchar
=‘3’) or the names of the neutral amino acids (nchar
=‘""’) or the names of the amino acids with ionized side chains (nchar
=‘"Z"’).
The output includes 20 amino acids in alphabetic order by 1-letter abbreviation (the order used in thermo()$protein
), unless which
is provided, indicating the desired amino acids (either as 1- or 3-letter abbreviations or names of the neutral amino acids).
count.aa
for counting amino acids or nucleic-acid bases in a sequence; protein.formula
for calculating the chemical formulas of proteins.
## Count nucleobases in a sequence
bases <- count.aa("ACCGGGTTT", type = "DNA")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.