public class SimpleCodonPref extends AbstractChangeable implements CodonPref
| Constructor and Description |
|---|
SimpleCodonPref(String geneticCodeName,
Distribution codonPref,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Distribution |
getFrequency()
returns a Distribution giving the
frequency of codons (sums to one over the
totality of codons).
|
Distribution |
getFrequencyForSynonyms(Symbol residue)
returns a Distribution giving the
frequency of synonymous codons.
|
ManyToOneTranslationTable |
getGeneticCode()
the genetic code that this codon
preference is based on.
|
String |
getGeneticCodeName()
get the name of the genetic code
|
String |
getName()
get name of object
|
WobbleDistribution |
getWobbleDistributionForSynonyms(Symbol residue)
returns a WobbleDistribution for
a specified residue.
|
addChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListenerpublic SimpleCodonPref(String geneticCodeName, Distribution codonPref, String name) throws IllegalAlphabetException
IllegalAlphabetExceptionpublic String getGeneticCodeName()
CodonPrefgetGeneticCodeName in interface CodonPrefpublic ManyToOneTranslationTable getGeneticCode()
CodonPrefgetGeneticCode in interface CodonPrefpublic Distribution getFrequency()
CodonPrefgetFrequency in interface CodonPrefpublic Distribution getFrequencyForSynonyms(Symbol residue) throws IllegalSymbolException
CodonPrefgetFrequencyForSynonyms in interface CodonPrefIllegalSymbolExceptionpublic WobbleDistribution getWobbleDistributionForSynonyms(Symbol residue) throws IllegalSymbolException
CodonPrefgetWobbleDistributionForSynonyms in interface CodonPrefIllegalSymbolExceptionCopyright © 2020 BioJava. All rights reserved.