|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmeme.MemeMotif
This contains info generated from parsing a meme report, each found motif is represented by this class.
Constructor Summary | |
MemeMotif()
|
Method Summary | |
double[][] |
getAdd1PSPM()
|
int[][] |
getFreqMatrix()
|
java.lang.String[] |
getHits()
|
double[][] |
getLLAdd1PSPM(double pA,
double pC,
double pG,
double pT)
|
double[][] |
getLLMemePSPM(double pA,
double pC,
double pG,
double pT)
|
MemeParser |
getMemeParser()
|
double[][] |
getMemePSPM()
|
java.lang.String |
getMotifDesc()
|
java.lang.String |
getMotifSites()
|
java.lang.String |
getMotifSumLn()
|
int |
getNumberName()
|
static double[][] |
makeAddOnePSPM(java.lang.String[] hits)
This method returns a position specific probability weight matrix given an array of Strings, each of the same size, containing GATC, no gaps, no N's. |
static int[][] |
makeFrequencyMatrix(java.lang.String[] hits)
Generates a matrix of the number of As Cc Gg Ts (top) by 1,2,3,4...positions in the motif (side) observed in all the Strings of the String[]. |
static double[][] |
makeLLPSPM(double[][] PSPM,
double pA,
double pC,
double pG,
double pT)
takes a double[][] where array[0] refers to the first position in a motif array[0][0 to 3] = probability of A, C, G, or T nucleotide at that position. |
static double[][] |
makePSPM(java.lang.String[] hits)
This method returns a position specific probability weight matrix given an array of Strings, each of the same size, containing GATC, no gaps, no N's. |
void |
setHits(java.lang.String[] x)
|
void |
setMemeParserRef(MemeParser x)
|
void |
setMemePSPM(double[][] x)
|
void |
setMotifDesc(java.lang.String x)
|
void |
setMotifSites(java.lang.String x)
|
void |
setMotifSumLn(java.lang.String x)
|
void |
setNumberName(int x)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MemeMotif()
Method Detail |
public int getNumberName()
public java.lang.String getMotifSumLn()
public java.lang.String getMotifDesc()
public java.lang.String getMotifSites()
public java.lang.String[] getHits()
public double[][] getMemePSPM()
public double[][] getLLMemePSPM(double pA, double pC, double pG, double pT)
public double[][] getAdd1PSPM()
public double[][] getLLAdd1PSPM(double pA, double pC, double pG, double pT)
public MemeParser getMemeParser()
public void setNumberName(int x)
public void setMotifSumLn(java.lang.String x)
public void setMotifDesc(java.lang.String x)
public void setMotifSites(java.lang.String x)
public void setHits(java.lang.String[] x)
public void setMemePSPM(double[][] x)
public void setMemeParserRef(MemeParser x)
public static double[][] makeLLPSPM(double[][] PSPM, double pA, double pC, double pG, double pT)
public java.lang.String toString()
public static double[][] makeAddOnePSPM(java.lang.String[] hits)
public static double[][] makePSPM(java.lang.String[] hits)
public static int[][] makeFrequencyMatrix(java.lang.String[] hits)
public int[][] getFreqMatrix()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |