|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jstacs.models.discrete.inhomogeneous.TwoPointEvaluater
public class TwoPointEvaluater
This class is for visualizing two point dependency between sequence positions.
| Constructor Summary | |
|---|---|
TwoPointEvaluater()
|
|
| Method Summary | |
|---|---|
static BufferedImage |
getImage(double[][] mi,
REnvironment r)
This method can be used to create an image of a mutual information matrix. |
static double |
getMax(double[][] mi)
This method can be used to determine the maximal value of the matrix of mutual informations. |
static double[][] |
getMIInBits(Sample s,
double[] weights)
This method computes the pairwise mutual information (in bits) between the sequence positions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TwoPointEvaluater()
| Method Detail |
|---|
public static double[][] getMIInBits(Sample s,
double[] weights)
throws IllegalArgumentException
s - the Sampleweights - the weights for each sequence of the Sample or
null
IllegalArgumentException - if something went wrong (e.g. the
AlphabetContainer is not discrete, the
length is not matching with the
AlphabetContainer, ...)
public static BufferedImage getImage(double[][] mi,
REnvironment r)
throws Exception
mi - the matrix of mutual informationr - the R environment
Exception - if an Exception is thrown from REnvironmentgetMIInBits(Sample, double[])public static double getMax(double[][] mi)
mi - the matrix of mutual informations
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||