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).
nucleic.formula
returns a string representation of the chemical formula for each nucleic-acid composition contained in nucleic
.
The names of the bases are indicated by the column names of nucleic
.
At present, the formula is computed as the sum of the chemical formulas of the bases themselves, with no contribution from polymerization (dehydration) or phosphorylation.
nucleic.complement
calculates the complement of the base composition given in nucleic
.
type
specifies the type of nucleic acid of the complement - DNA (A, G, C, T) or RNA (A, G, C, U).