|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstatalign.model.subst.SubstitutionModel
statalign.model.subst.plugins.NucleotideModel
public abstract class NucleotideModel
This is the abstract class for nucleotide models.
Field Summary | |
---|---|
static java.lang.String |
type
|
Fields inherited from class statalign.model.subst.SubstitutionModel |
---|
alphabet, attachedScoringScheme, d, e, menuName, params, v, w |
Method Summary | |
---|---|
double |
acceptable(RawSequences r)
This function decides if this model can analyze input sequences. |
java.awt.Color |
getColor(char c)
This function assigns colors to characters. |
char |
mostLikely(double[] seq)
Returns with the most likely character, given a Felsentein likelihood array. |
java.lang.String |
print()
returns the description of the current parameters of the model |
void |
restoreParameter()
restore the parameters to the old values when a parameter-changing proposal is not accepted. |
void |
setPrintRNA(boolean printRNA)
Selects whether to print RNA nucleotides (U for T) or default DNA ones. |
Methods inherited from class statalign.model.subst.SubstitutionModel |
---|
getMenuName, getMenuName, getPrior, getType, getType, sampleParameter, updateSpan, updateTransitionMatrix |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String type
Method Detail |
---|
public double acceptable(RawSequences r)
acceptable
in class SubstitutionModel
r
- raw sequences
public java.awt.Color getColor(char c)
getColor
in class SubstitutionModel
c
- character whose background colour is to be returnedpublic java.lang.String print()
print
in class SubstitutionModel
public void restoreParameter()
restoreParameter
in class SubstitutionModel
public char mostLikely(double[] seq)
mostLikely
in class SubstitutionModel
public void setPrintRNA(boolean printRNA)
mostLikely(double[])
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |