|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.dp.ScoreType.Odds
public static class ScoreType.Odds
In this class, calculateScore returns the odds ratio of a symbol being emitted. That is, the ratio of the probability of a Symbol being emitted to it being emitted by the null model.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.biojava.bio.dp.ScoreType |
---|
ScoreType.NullModel, ScoreType.Odds, ScoreType.Probability |
Field Summary |
---|
Fields inherited from interface org.biojava.bio.dp.ScoreType |
---|
NULL_MODEL, ODDS, PROBABILITY |
Constructor Summary | |
---|---|
ScoreType.Odds()
|
Method Summary | |
---|---|
double |
calculateScore(Distribution dist,
Symbol sym)
Calculates the score associated with a distribution and a symbol. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScoreType.Odds()
Method Detail |
---|
public double calculateScore(Distribution dist, Symbol sym) throws IllegalSymbolException
ScoreType
calculateScore
in interface ScoreType
IllegalSymbolException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |