|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--MJAbase | +--MJAhistogram
MAExplorer Open Java API class to access MJAhistogram methods and data structures. Access histograms and methods
List of methods available to Plugin-writers
calcHistOfHP_XYRatios() - calc of ratio hist of HP-X/-Y spot data. calcHistOfF1F2Ratios() - calc ratio hist of current HP F1/F2 spot data. calcSampleIntensityHistogram() - compute intensity histogram for sample calcAndcalcAndGetSampleStats() - get list of sample's global array stats getSampleHistStats() - compute Filtered sample intensity histogram & stats calcIntensityHistogram() - compute intensity histogram for Sample
This work was produced by Peter Lemkin of the National Cancer Institute, an agency of the United States Government. As a work of the United States Government there is no associated copyright. It is offered as open source software under the Mozilla Public License (version 1.1) subject to the limitations noted in the accompanying LEGAL file. This notice must be included with the code. The MAExplorer Mozilla and Legal files are available on http://maexplorer.sourceforge.net/.
for additional histogram methods and data
Method Summary | |
java.util.Hashtable |
calcAndGetSampleStats(int sampleNbr,
boolean recalcHistFlag)
calcAndGetSampleStats() - get list of sample's global array statistics You map recompute the histogram. |
java.util.Hashtable |
calcHistOfF1F2Ratios(int sampleNbr)
calcHistOfF1F2Ratios() - get Hashtable list of features for ratio histogram of the current HP sample F1/F2 spot data. |
java.util.Hashtable |
calcHistOfHP_XYRatios()
calcHistOfHP_XYRatios() - get Hashtable list of features of ratio histogram of HP-X/-Y spot data for the current HP-X and HP-Y samples. |
boolean |
calcIntensityHistogram(int sampleNbr)
calcIntensityHistogram() - compute intensity histogram for Sample for the current normalization. |
boolean |
calcSampleIntensityHistogram(int sampleNbr)
calcSampleIntensityHistogram() - compute intensity histogram for current normalization method. |
java.util.Hashtable |
getSampleHistStats(int sampleNbr,
boolean doRecalcHistFlag)
getSampleHistStats() - compute Filtered sample intensity histogram and get list of statistics and return list of statistics |
Methods inherited from class MJAbase |
cvtHashtable2SimpleTable, cvtTable2Hashtable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public final java.util.Hashtable calcHistOfHP_XYRatios()
The Hashtable list returned is defined as: Name - Value "nList" - int size of gene list "ListOfMIDs" - int[] of gene MIDs indices "ListOfRatios" - float[] of gene ratios "maxRatioHistIdx" - int index of maximum histogram value "minRatioHistIdx" - int index of minimum histogram value "NbrBinsInHistogram" - int # of bins in histogram "RatioHistFreqList" - long[] frequency histograms "RatioValuesList" - float[] values corresponding to histogram bins
null
if error.public final java.util.Hashtable calcHistOfF1F2Ratios(int sampleNbr)
The Hashtable list returned is defined as: Name - Value "nList" - int size of gene list "ListOfMIDs" - int[] of gene MIDs indices "ListOfRatios" - float[] of gene ratios "maxRatioHistIdx" - int index of maximum histogram value "minRatioHistIdx" - int index of minimum histogram value "NbrBinsInHistogram" - int # of bins in histogram "RatioHistFreqList" - long[] frequency histograms "RatioValuesList" - float[] values corresponding to histogram bins
sampleNbr
- sample number to use, else current HP sample if 0null
if error.public final boolean calcSampleIntensityHistogram(int sampleNbr)
sampleNbr
- sample number to use, else current HP sample if 0false
if method failed.public final java.util.Hashtable calcAndGetSampleStats(int sampleNbr, boolean recalcHistFlag)
The Hashtable list returned is defined as: Name - Value "SampleName" - String name of sample file (without .quant file extension) in the database "SampleNumber" - int sample number in the database "HistMeanIdx" - int index in histogram of mean raw intensity "HistModeIdx" - int index in histogram of mode raw intensity "HistMedianIdx" - int index in histogram of median raw intensity "HistMaxFV" - float maximum and fractions of dynamic range "Mean" - float histogram mean raw intensity "Mode" - float histogram mode raw intensity "Median" - float histogram median raw intensity "MeanAbsDev" - float hist mean absolute deviation raw intensity "logMean" - float log of histogram mean raw intensity "logStdDev" - float log of histogram StdDev raw intensity "logmeanAbsDev" - float log of histogram mean absolute deviation raw intensity "maxDataS" - float scaled maximum data value for the current normalization "minDataS" - float scaled minimum data value for the current normalization "maxRawS" - float raw maximum data value for cur. normalization "minRawS" - float raw maximum data value for cur. normalization "Histogram" - int[0:nbrBins-1] hist of data Filtered raw intensity "nbrBins" - int number of bins in the histogram "WidthOfBin" - float width of bin in histogram in intensity space "HistMedianIntens" - float histogram value at median intensity "HistMeanIntensity" - float histogram value at mean intensity "HistModeIntensity" - float histogram value at mode intensity "HistMaxIntensity - float histogram value at max intensity "HistMinIntensity" - float histogram value at min intensity "HistNormFactor" - float normalization factor for all intensity data so we can compare intensity between HP samples.
sampleNbr
- sample number to use, else current HP sample if 0null
if not found or errorpublic final java.util.Hashtable getSampleHistStats(int sampleNbr, boolean doRecalcHistFlag)
The Hashtable list returned is defined as: Name - Value "histogram" - int[] intensity histogram frequency counts "nbrBins" - int number of bins in intensity histogram "minRawIntensity" - float minimum raw intensity seen in sample "maxRawIntensity" - float maximum raw intensity seen in sample "meanIntensity" - float mean of intensity histogram "modeIntensity" - float mode of intensity histogram "minIntensity" - float minimum scaled intensity seen in sample "maxIntensity" - float maximum scaled intensity seen in sample "stdDev" - float Std Deviation of histogram "meanAbsDev" - float Mean Absolute Deviation of histogram "meanIdx" - int index of mean in intensity histogram "modeIdx" - int index of mode in intensity histogram "medianIdx" - int index of median in intensity histogram "deltaBin" - float width of bin in intensity histogram
sampleNbr
- sample number to use, else current HP sample if 0doRecalcHistFlag
- recompute histogram before get datanull
if not found or error.public final boolean calcIntensityHistogram(int sampleNbr)
sampleNbr
- sample number to use, else current HP sample if 0false
if method was not found or method failed,
otherwise the flag returned by the method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |