|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttrans.qc.CelFileQualityControl
Provides automated qc checking for cel files, flags those of poor quality based on a variety of statistics. For every cel file, the median intensity is calculated, then a median determined for all the cel files' medians, then a scaler is calculated for each cel file required to get it to the overall median. This is the cel file specific median scalar and indicates the degree of brighness relative to the other chips. After this calculation the intensities on all the chips are median scaled to the targetMedian defined in the application, ie 100. Lastly, all the stats are calculated on these scaled values. For the dim bright no synth calculations, these are made using the particular chip intensities, not any global values.
Constructor Summary | |
CelFileQualityControl()
|
Method Summary | |
void |
calculateMedianStatFlagValues()
Calculates the median value for each stat flag |
void |
checkForFlippedControls()
Runs through groups of cel files, calculates the median no Synth, Dim, and Bright intensities, checks to see if they are inverted, for some reason they sometimes are! Note these medians are calculated on the raw, pre scaled chip intensities. |
void |
checkSingleCelFileStats()
Runs through groups of cel files, calling statSingleCelFile() on each and prints the results. |
void |
cluster(int[][] pmCoordinates)
Clusters cel files based on pm intensities by group. |
void |
clusterCelFiles(int[][] pmCoordinates)
Runs through groups of cel files, calling statSingleCelFile() on each and prints the results. |
void |
createCelFileStatsArray()
Creates a cel file stats array, then saves and nulls the float arrays. |
java.io.File[] |
fetchCelFileStatsFiles()
|
java.lang.String |
fetchQCParams()
|
void |
instantiateStatFlags()
Makes the Stat Flags, add new stats here. |
static void |
main(java.lang.String[] args)
|
void |
makeCharts()
Writes charts to the save directory and if so indicated displays them. |
void |
printCelFileStats()
Runs through groups of cel files, calling statSingleCelFile() on each and prints the results. |
static void |
printDocs()
|
void |
printStatFlags()
Prints name, median min max for each stat flag |
void |
processArgs(java.lang.String[] args)
This method will process each argument and assign any new varibles |
java.lang.StringBuffer |
statSingleCelFile(CelFileStats cs)
Checks a CelStats object for deviations from the min max settings. |
void |
testCelFiles()
Main app controler. |
void |
writePNGs(boolean restrictToOutlier)
Writes PNG files for CelFileStats. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CelFileQualityControl()
Method Detail |
public void testCelFiles()
public void cluster(int[][] pmCoordinates)
public void makeCharts()
public void checkForFlippedControls()
public void printCelFileStats()
public void clusterCelFiles(int[][] pmCoordinates)
public void checkSingleCelFileStats()
public java.io.File[] fetchCelFileStatsFiles()
public void writePNGs(boolean restrictToOutlier)
public void printStatFlags()
public void calculateMedianStatFlagValues()
public void instantiateStatFlags()
public void createCelFileStatsArray()
public java.lang.StringBuffer statSingleCelFile(CelFileStats cs)
public static void main(java.lang.String[] args)
public void processArgs(java.lang.String[] args)
public java.lang.String fetchQCParams()
public static void printDocs()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |