|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectutil.bio.cluster.HierarchicalClustering
Calculates a Pearson correlation coefficient between all pairs of serialized float[]s, uses hierarchical clustering to group like arrays. Displays on screen and saves as a png.
Constructor Summary | |
HierarchicalClustering(double minRValue,
int maxSizeToFlagCluster,
java.lang.StringBuffer results,
java.io.File pngResultFile,
boolean displayClusterPlot)
For integration with CelFileQualityControl App. |
|
HierarchicalClustering(java.io.File[] floatArrayFiles)
For integration with Correlate App. |
|
HierarchicalClustering(java.io.File[] floatArrayFiles,
java.io.File pngResultFile)
For integration with CelProcessor. |
|
HierarchicalClustering(java.lang.String[] args)
For stand alone use. |
Method Summary | |
void |
breakOutClusters()
|
void |
cluster()
|
java.io.File[] |
clusterCelaFiles(java.io.File[] virtualCelFiles,
int[][] pmCoordinates)
Clusters cela files, extracts PM intensities, median normalizes. |
void |
clusterNormalizedFloatArrayFiles()
Clusters float[] files, does not median normalize |
java.io.File[] |
clusterVirtualCelFiles(java.io.File[] virtualCelFiles,
int[][] pmCoordinates)
Performs actual clustering for CelFileQualityControl app. |
boolean |
displayClusterPlot()
|
double[] |
findBestPair()
Takes an ArrayList of VCluster and finds the best pair based on a PearsonCorrelationCoefficient. |
java.util.ArrayList |
getClusters()
|
Cluster |
getMegaCluster()
|
double |
getMinimalCorrelationCoefficient()
|
java.io.File |
getPngResultFile()
|
java.lang.String |
getTitle()
|
static void |
main(java.lang.String[] args)
|
void |
mergeClusters(double[] ccBestPair)
Merges Clusters from best pair notes whether they have a bad cc. |
static void |
printDocs()
|
void |
processArgs(java.lang.String[] args)
This method will process each argument and assign new varibles |
boolean |
savePNG()
|
void |
setDisplayClusterPlot(boolean displayClusterPlot)
|
void |
setPngResultFile(java.io.File pngResultFile)
|
void |
setSavePNG(boolean savePNG)
|
void |
setTitle(java.lang.String panelTitle)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HierarchicalClustering(java.lang.String[] args)
public HierarchicalClustering(double minRValue, int maxSizeToFlagCluster, java.lang.StringBuffer results, java.io.File pngResultFile, boolean displayClusterPlot)
public HierarchicalClustering(java.io.File[] floatArrayFiles)
public HierarchicalClustering(java.io.File[] floatArrayFiles, java.io.File pngResultFile)
Method Detail |
public void cluster()
public java.io.File[] clusterVirtualCelFiles(java.io.File[] virtualCelFiles, int[][] pmCoordinates)
public java.io.File[] clusterCelaFiles(java.io.File[] virtualCelFiles, int[][] pmCoordinates)
public void clusterNormalizedFloatArrayFiles()
public void breakOutClusters()
public void mergeClusters(double[] ccBestPair)
public double[] findBestPair()
public void processArgs(java.lang.String[] args)
public static void printDocs()
public static void main(java.lang.String[] args)
public java.util.ArrayList getClusters()
public Cluster getMegaCluster()
public double getMinimalCorrelationCoefficient()
public boolean savePNG()
public void setSavePNG(boolean savePNG)
public java.io.File getPngResultFile()
public void setPngResultFile(java.io.File pngResultFile)
public java.lang.String getTitle()
public void setTitle(java.lang.String panelTitle)
public boolean displayClusterPlot()
public void setDisplayClusterPlot(boolean displayClusterPlot)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |