|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--MaHybridSample
The MaHybridSample class is the primary instance of hybridized sample array data. It includes all sample-specific image-dependent data such as xy coords, raw intensity(ies if both f1,f2 or f1/f2, etc. or Cy3, Cy5), background, QualCheck data, statistical descriptions of that data and calibration data. It also includes the data access methods used by all of the rest of MAExplorer. It initially invokes a MaHPquantTable instance to read the quantified data from the .quant data file. Note: The genomic ID info is kept in the list of Gene instances accessed through Maps.midStaticCL or Maps.gidStaticCL.
An instance of this class contains primary data describing a particular hybridized sample including: its name; full name; file name; channel(s) intensity, background, QualCheck flag, pseudoarray image and actual image spot coordinates, correlation coefficient, gidMap; Cy3/Cy5 channel swap state; statistics on total data and subsets of the data; scale factors for different normalizations; etc.
It includes many primary methods used throughout MAExplorer for accessing this data including:
List of methods lookupGeneFromXY() - lookup mid if find Point xy in sample HP pseudoarray image scaleIntensData() - scale raw intensity data as function of normalization mode cvRI2HistScale() - convert raw intensity to histogram scale data for the gid cvHist2RIscale() - convert histogram scale to raw intensity data for the gid calcIntensScaleExtrema() - calculate intensity scale factor extrema for current normalization mode getSpotDataStatic() - get a STATIC scaled spot data object for this gid getSpotData12Static() - get STATIC scaled spot data object for gid1, gid2 getF1F2Data() - get list spot (F1,F2)'s intensity data for data filtered genes computeMinMaxF1F2Data() - compute F1 F2 min and max raw intensity extrema getDataByGID() - get scaled intensity data specified by gid and data type getRawDataByGID() - get raw (possibly bkgrd corrected) data specified by gid and data type getRawIntens() - get spot (rawIntensity - rawBackground) data by gid and data type getRawBkgrd() - get raw background intensity specified by the gid calcIntensHist() - compute Filtered spot intensity histogram for this sample calcMeanCalDNA() - calculate mean and stdDev RAW intensity Calibration DNA calcMeanUseNormGeneSet() - calculate mean and stdDev RAW intensity swapCy5Cy3AndReCalcStats() - swap Cy3 and Cy5, recalculate statistics for the sample clearHPglobalStats() - clear global array statistics before compute actual ranges recalcGlobalStats() - recalculate global array statistics for all or just Good Spots cvtRawQdataToMAEdata() - convert .quant data to MAE data using HP array data ms.(bkgrdQ,totQ)[]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/.
MaHPquantTable
Field Summary | |
(package private) float |
BGAvgQ
Average background for entire array |
(package private) float |
BGLowQ
low background estimate for entire array |
(package private) float |
BGRmsQ
RMS background for entire array |
(package private) float |
bkgrdQ
raw background intensity, unscaled |
(package private) float[] |
bkgrdSpotQ
list of raw background intensity data/spot, unscaled |
(package private) static int |
DATA_F1TOT
type code: for f1 data |
(package private) static int |
DATA_F2TOT
type code: for f2 data |
(package private) static int |
DATA_MEAN_F1F2TOT
type code: for (f1+f2)/2 data |
(package private) static int |
DATA_RATIO_F1F2TOT
type code: for f1/f2 data |
(package private) boolean |
dataAvailFromQuantFileFlag
set if can get quant data data from .quant file |
(package private) java.lang.String |
databaseFileID
(opt) DatabaseFileID used with some databases (eg. |
(package private) boolean |
dataFromStateFileFlag
flag: set if can get data from .state file |
(package private) float |
deltaBin
Filter hist: #bins/maxData-minData) |
(package private) float |
deltaHistBin
total array: width of a logRatio histogram bin |
(package private) float[] |
detValueQ
(opt) list of spot Detection Value within spot for all spots. |
(package private) boolean |
doRatioFlag
flag: if maxFIELD==1 && useRatioDataFlag |
(package private) java.awt.Point |
downPoint
[FUTURE] for dragging- could be used for defining rubber-band regions |
private Filter |
fc
link to global Filter instance |
(package private) boolean |
flipRowsColsFlag
flag: flip rows and columns |
(package private) java.lang.String |
fullStageText
full Stage text name of hybridized sample used in menus, etc |
private GeneClass |
gct
link to global GeneClass instance |
(package private) int[] |
gidMapQ
map GridCoord id for [f][g][r][c] for each row of this sample's tData[]. |
(package private) float |
gidMaxF1
gid for max intens values F1 in getF1F2list |
(package private) float |
gidMaxF2
gid for max intens values F2 in getF1F2list |
(package private) float |
gidMinF1
gid for min intens values F1 in getF1F2list |
(package private) float |
gidMinF2
gid for min intens values F2 in getF1F2list |
(package private) boolean |
hasActualXYcoordsFlag
flag: set if have actual XY coords - not pseudoCoords |
(package private) boolean |
hasBkgrdPerSpotFlag
flag: set if have bkgrd intens/spot |
(package private) boolean |
hasDetValueSpotDataFlag
flag: if using spot data "CorrCoef" or "DetValue" field |
(package private) boolean |
hasQualChkFlag
flag: if using "QualCheck" field |
(package private) boolean |
hasValidDataFlag
flag: set if .quant array data is set up ok |
(package private) boolean |
hasXYimageCQflag
flag: has xyImgCQ_X/Y[] data for Montage image |
(package private) int[] |
hist
normalized intensity histogram [0:nBins] |
(package private) java.lang.String |
hpName
basename hybridized sample DB file name without file extension |
(package private) int |
idxHP
index in list of all samples (mae.hps.msList[]) for this HP sample |
(package private) boolean |
implicitFieldsFlag
flag: set true if no "field" field |
(package private) float |
logDeltaBin
total array: (mae.MAX_INTENSITY/logRange) |
(package private) float |
logMaxRatioRI
total array: log maxRatioRI |
(package private) float |
logMaxRI
total array: log of maxRI |
(package private) float |
logMean
Filter hist: log of mean raw intensity |
(package private) float |
logMeanAbsDev
Filter hist: log of mean absolute deviation raw intensity |
(package private) float |
logMeanAbsDevRI
total array: Filter hist: log of mean absolute deviation raw intensity |
(package private) float |
logMeanRI
total array: mean of log of rawIntensity |
(package private) float |
logMiddle
total array: -logMinRatioRI for finding RI==1.0 |
(package private) float |
logMinRatioRI
total array: log minRatioRI |
(package private) float |
logMinRI
total array: log of minRI |
(package private) float |
logRange
total array: log ratio range [Rmin:Rmax] |
(package private) float |
logStdDev
Filter hist: log of stdDev raw intensity |
(package private) float |
logStdDevRI
total array: std dev of log of means |
(package private) float |
madHPri
total array: rawIntens meanAbsDev, all genes in HP w/o bkgrd |
(package private) MAExplorer |
mae
link to global MAExplorer instance |
private Maps |
map
link to global Maps instance |
(package private) float |
maxDataF1
max intens values F1 in getF1F2list |
(package private) float |
maxDataF2
max intens values F2 in getF1F2list |
(package private) float |
maxDataS
current norm: scaled max data |
(package private) float |
maxFV
maximum and fractions of dynamic range |
(package private) float |
maxHistData
total array: mode hist data value |
(package private) float |
maxIntens
max intensity of histogram data |
(package private) float |
maxRatioRI
total array: max(f1RI/f2RI) for all spots |
(package private) float |
maxRaw
total array: if Ratio, maximum of range of F1 or F2 RawIntens |
(package private) float |
maxRawS
current norm: scaled maxRaw data |
(package private) float |
maxRI
total array: range of RI or ratio |
(package private) float |
maxRI1
total array: range of RawIntensity1 |
(package private) float |
maxRI2
total array: range of RawIntensity2 |
(package private) float |
mean
Filter hist: mean raw intensity |
(package private) float |
meanAbsDev
Filter hist: mean absolute deviation raw intensity |
(package private) float |
meanCalDNA
mean 'calibration DNA' intensity |
(package private) int |
meanIdx
Filter hist: index of mean raw intensity |
(package private) float |
meanIntens
mean of histogram data |
(package private) float |
meanUseGeneSet
mean 'User Filter Gene set' intensity |
(package private) float |
median
Filter hist: median raw intensity |
(package private) float |
medianF1
median of F1 channel |
(package private) float |
medianF1Bkgd
median background of F1 channel |
(package private) float |
medianF2
median of F2 channel if present |
(package private) float |
medianF2Bkgd
median background of F2 channel if present |
(package private) int |
medianIdx
Filter hist: index of median raw intensity |
(package private) float |
medianIntens
median of histogram data |
(package private) float |
medianRI
total array: median value of rawIntensity |
(package private) java.lang.String |
menuTitle
string to use in Sample menu entry |
(package private) float |
minDataF1
min intens values F1 in getF1F2list |
(package private) float |
minDataF2
min intens values F2 in getF1F2list |
(package private) float |
minDataS
current norm: scaled min data |
(package private) float |
minHistData
total array: min hist data value |
(package private) float |
minIntens
min intensity of histogram data |
(package private) float |
minRatioRI
total array: min(f1RI/f2RI) for all spots |
(package private) float |
minRaw
total array: if Ratio, minimum of range of F1 or F2 RawIntens |
(package private) float |
minRawS
current norm: scaled minRaw data |
(package private) float |
minRI
total array: range of RI or ratio |
(package private) float |
minRI1
total array: range of RawIntensity1 |
(package private) float |
minRI2
total array: range of RawIntensity2 |
(package private) float |
mnHPri
total array: rawIntens mean, all genes in HP w/o bkgrd |
(package private) float |
mnHPri1
total array: rawIntens f1 mean, all genes in HP w/o bkgrd |
(package private) float |
mnHPri2
total array: rawIntens f2 mean, all genes in HP w/o bkgrd |
(package private) float |
mode
Filter hist: mode raw intensity |
(package private) int |
modeIdx
Filter hist: index of mode raw intensity |
(package private) float |
modeIntens
mode of histogram data |
(package private) float |
modeRI
total array: mode value of rawIntensity |
(package private) int |
nBins
number of bins in histogram. |
(package private) boolean |
needLoginFlag
flag: set if requires login for this HP for it's projectName |
(package private) float |
normFactor
normalization factor for all intensity data so we can compare intensity between HP samples. |
(package private) java.lang.String |
oImageName
(opt) original image filename |
(package private) java.lang.String |
prjName
project this HP sample belongs to |
(package private) float[] |
qualChkQ
(opt) list of spot specific quality check using Gene.XXX properties for all spots |
(package private) float |
ratioMedianBkgdScale
may be set if Cy3/Cy5 median bkgrd scale correction |
(package private) float |
ratioMedianScale
may be set if Cy3/Cy5 median scale correction. |
(package private) java.lang.String |
sampleID
English name of the sample |
(package private) float |
scaleCalDNA
scale factor for scaling by calDNA |
(package private) float |
scaleCalDNAto65K
scale factor for scaling by calDNA but max for all HPs is 65K |
(package private) float |
scaleToMaxIV
total array: maxFV/maxRIscale factor to compute max range |
(package private) float |
scaleUseGeneSet
scale factor for 'User Filter Gene set' |
(package private) float |
scaleUseGeneSetTo65K
scale factor for 'User Filter Gene Set' but max for all HPs is 65K |
(package private) float |
sdHPri
total array: rawIntens StdDev, all genes in HP w/o bkgrd |
(package private) float |
sdHPri1
total array: rawIntens f1 StdDev, all genes in HP w/o bkgrd |
(package private) float |
sdHPri2
total array: rawIntens f2 StdDev, all genes in HP w/o bkgrd |
private Statistics |
stat
link to global Statistics instance |
(package private) float |
stdDev
Filter hist: std deviation raw intensity |
(package private) float |
stdDevCalDNA
stddev 'calibration DNA' intensity |
(package private) float |
stdDevUseGeneSet
stddev 'User Filter Gene Set' intensity |
(package private) boolean |
swapCy5Cy3DataFlag
flag: swapped Cy3 (Field1) and Cy5 (Field 2) data |
(package private) java.lang.String[] |
textHP
title for each HP grid |
(package private) float[] |
totQ
list of raw intensity data/spot, unscaled |
(package private) java.awt.Point |
upPoint
[FUTURE] for dragging- could be used for defining rubber-band regions |
(package private) int[] |
x_textQ
position of X grid label for PseudoImage |
(package private) int |
xCmax
total array: max X coord mapped to MAE coord |
(package private) int |
xCmin
total array: min X coord mapped to MAE coord |
(package private) java.awt.Point[] |
xyCQ
(X,Y) of data from original array (if present) mapped to MAExplorer coordinate system or generated for PseudoArray Image |
(package private) int[] |
xyImgCQ_X
(opt) X original image X coords scaled by 2.0. |
(package private) int[] |
xyImgCQ_Y
(opt) X original image X coords scaled by 2.0. |
(package private) int[] |
y_textQ
position of Y grid label for PseudoImage |
(package private) int |
yCmax
total array: max Y coord mapped to MAE coord |
(package private) int |
yCmin
total array: min Y coord mapped to MAE coord |
Constructor Summary | |
(package private) |
MaHybridSample(MAExplorer mae,
java.lang.String hybSampleName,
java.lang.String sampleID,
java.lang.String databaseFileID,
java.lang.String oImageName,
java.lang.String menuTitle,
java.lang.String fullStageText,
java.lang.String projectName,
boolean needLoginFlag,
boolean swapCy5Cy3DataFlag,
int idxHybridSample)
MaHybridSample() - constuctor for an instance of a Microarray hybridized sample data |
Method Summary | |
(package private) boolean |
calcIntensHist()
calcIntensHist() - compute Filtered spot intensity histogram for this sample It gets the normalized data from SpotData. |
(package private) boolean |
calcIntensScaleExtrema()
calcIntensScaleExtrema() - calculate intensity scale factor extrema for current normalization mode. |
(package private) boolean |
calcMeanCalDNA()
calcMeanCalDNA() - calculate mean and stdDev RAW intensity Calibration DNA. |
(package private) boolean |
calcMeanUseNormGeneSet()
calcMeanUseNormGeneSet() - calculate mean and stdDev RAW intensity. |
(package private) void |
clearHPglobalStats()
clearHPglobalStats() - clear global array statistics before compute actual ranges |
(package private) boolean |
computeMinMaxF1F2Data(boolean useF1F2ratioFlag,
boolean useAllGenesFlag)
computeMinMaxF1F2Data() - compute F1 F2 min and max raw intensity extrema. |
(package private) float |
cvHist2RIscale(float hData)
cvHist2RIscale() - convert histogram scale to raw intensity data for the gid. |
(package private) float |
cvRI2HistScale(int gid)
cvRI2HistScale() - convert raw intensity to histogram scale data for the gid. |
(package private) boolean |
cvtRawQdataToMAEdata(boolean screenGoodGenesFlag)
cvtRawQdataToMAEdata() - convert .quant data to MAE data using HP array data ms.(bkgrdQ,totQ)[] Note: totQ is RawIntensity, or unscaled ratio RawIntensity1/RawIntensity2. |
(package private) float |
getDataByGID(int gid,
boolean useF1F2ratioFlag,
int type)
getDataByGID() - get scaled intensity data specified by gid and data type. |
(package private) int |
getF1F2Data(float[] xList,
float[] yList,
int[] propList,
GeneList ml,
boolean setPropsFlag,
boolean useF1F2ratioFlag,
boolean filterByMLflag)
getF1F2Data() - get list spot (F1,F2)'s intensity data for data filtered genes and return it in the xList[1:n] is the field 1 data, yList[0:n-1] is field 2 data and the property in propList[0:n-1]. |
(package private) float |
getRawBkgrd(int gid)
getRawBkgrd() - get raw background intensity specified by the gid. |
(package private) float |
getRawDataByGID(int gid,
boolean useF1F2ratioFlag,
int type)
getRawDataByGID() - get raw data specified by gid and data type. |
(package private) float |
getRawIntens(int gid,
boolean useF1F2ratioFlag)
getRawIntens() - get spot (rawIntensity - rawBackground) data by gid and data type |
(package private) SpotData |
getSpotData12Static(int gid1,
int gid2,
boolean useF1F2ratioFlag)
getSpotData12Static() - get STATIC scaled spot data object for gid1, gid2. |
(package private) SpotData |
getSpotDataStatic(int gid,
boolean useF1F2ratioFlag)
getSpotDataStatic() - get a STATIC scaled spot data object for this gid. |
(package private) int |
lookupGeneFromXY(java.awt.Point xy)
lookupGeneFromXY() - lookup mid if find Point xy in sample HP pseudoarray image |
(package private) boolean |
readHPquantFile(int hpNbr)
readHPquantFile() - read the hybridized sample Quant File. |
(package private) boolean |
recalcGlobalStats(boolean useGoodSpotsOnlyFlag)
recalcGlobalStats() - recalculate global array statistics for all or just Good Spots. |
(package private) float |
scaleIntensData(float dataI)
scaleIntensData() - scale raw intensity data as function of normalization mode. |
(package private) float |
scaleIntensData(float dataI,
int gid)
scaleIntensData() - scale raw intensity data as function of normalization mode. |
private void |
setupHybSampleData()
setupHybSampleData() - setup for .quant file for this hybridized sample. |
(package private) boolean |
swapCy5Cy3AndReCalcStats()
swapCy5Cy3AndReCalcStats() - swap Cy3 and Cy5, recalculate statistics for this sample. |
(package private) boolean |
validateHybSample(java.lang.String projectName)
validateHybSample() - validate if login is required for this sample for this project. |
Methods inherited from class java.lang.Object |
|
Field Detail |
MAExplorer mae
private Maps map
private Filter fc
private Statistics stat
private GeneClass gct
static final int DATA_MEAN_F1F2TOT
static final int DATA_RATIO_F1F2TOT
static final int DATA_F1TOT
static final int DATA_F2TOT
java.lang.String menuTitle
java.lang.String prjName
java.lang.String fullStageText
java.lang.String oImageName
java.lang.String sampleID
java.lang.String databaseFileID
java.lang.String hpName
int idxHP
float minDataF1
float minDataF2
float maxDataF1
float maxDataF2
float gidMinF1
float gidMinF2
float gidMaxF1
float gidMaxF2
int meanIdx
int modeIdx
int medianIdx
float maxFV
float deltaBin
float mean
float mode
float median
float stdDev
float meanAbsDev
float logMean
float logStdDev
float logMeanAbsDev
float ratioMedianScale
float ratioMedianBkgdScale
float stdDevUseGeneSet
float meanUseGeneSet
float scaleUseGeneSet
float scaleUseGeneSetTo65K
float stdDevCalDNA
float meanCalDNA
float scaleCalDNA
float scaleCalDNAto65K
float medianF1
float medianF2
float medianF1Bkgd
float medianF2Bkgd
float maxDataS
float minDataS
float maxRawS
float minRawS
java.awt.Point downPoint
java.awt.Point upPoint
java.lang.String[] textHP
int[] x_textQ
int[] y_textQ
boolean doRatioFlag
boolean swapCy5Cy3DataFlag
boolean needLoginFlag
boolean hasXYimageCQflag
boolean dataFromStateFileFlag
boolean dataAvailFromQuantFileFlag
int[] hist
int nBins
float medianIntens
float meanIntens
float modeIntens
float maxIntens
float minIntens
float normFactor
float BGLowQ
float BGAvgQ
float BGRmsQ
float bkgrdQ
float[] bkgrdSpotQ
float[] totQ
float[] detValueQ
float[] qualChkQ
int[] gidMapQ
java.awt.Point[] xyCQ
int[] xyImgCQ_X
int[] xyImgCQ_Y
boolean hasActualXYcoordsFlag
boolean hasBkgrdPerSpotFlag
boolean hasQualChkFlag
boolean hasDetValueSpotDataFlag
boolean implicitFieldsFlag
boolean flipRowsColsFlag
boolean hasValidDataFlag
float minHistData
float maxHistData
float mnHPri
float sdHPri
float madHPri
float mnHPri1
float sdHPri1
float mnHPri2
float sdHPri2
float scaleToMaxIV
float logMeanRI
float logStdDevRI
float logMeanAbsDevRI
float logMaxRI
float logMinRI
float medianRI
float modeRI
float minRI
float maxRI
float minRI1
float maxRI1
float minRI2
float maxRI2
float minRaw
float maxRaw
float deltaHistBin
float maxRatioRI
float minRatioRI
float logMaxRatioRI
float logMinRatioRI
float logRange
float logDeltaBin
float logMiddle
int xCmax
int yCmax
int xCmin
int yCmin
Constructor Detail |
MaHybridSample(MAExplorer mae, java.lang.String hybSampleName, java.lang.String sampleID, java.lang.String databaseFileID, java.lang.String oImageName, java.lang.String menuTitle, java.lang.String fullStageText, java.lang.String projectName, boolean needLoginFlag, boolean swapCy5Cy3DataFlag, int idxHybridSample)
mae
- is instance of MAExplorerhybSampleName
- is the sample namesampleID
- is the free text form of the sample namedatabaseFileID
- is the (opt) database file IDoImageName
- is the image namemenuTitle
- is the string used in Sample menu entryfullStageText
- is the full Stage text nameprojectName
- is the project this HP sample belongsneedLoginFlag
- indicates that it requires login for projectNameswapCy5Cy3DataFlag
- indicates that swap (Cy3,Cy5) dataidxHybridSample
- is the index in hps.msList[] entry for this sampleFileIO.logMsgln(java.lang.String)
,
Util.showMsg(java.lang.String)
,
setupHybSampleData()
,
validateHybSample(java.lang.String)
Method Detail |
private void setupHybSampleData()
GridCoords.createIndexToGridCoordMap()
,
calcIntensScaleExtrema()
,
readHPquantFile(int)
boolean validateHybSample(java.lang.String projectName)
If the user had already logged in and the project is the mae.validProjects[0:mae.nValidProjects-1] list, then don't check since already logged in. Otherwise, get the (uN,uPW) from popup dialog and then check with the server to see if the (uN,uPW,uPrj) is in the password file. If the login is OK, then it has the side effect of setting mae.curProjName= projectName; mae.isLoggedInFlag= true; this.needLoginFlag= false; Also push projectName into the list of projects. mae.validProjects[mae.nValidProjects++]
projectName
- project name for this databaseUserState.validateUserProject(java.lang.String, java.lang.String, java.lang.String)
boolean readHPquantFile(int hpNbr)
hpNbr
- is the sample number in the msList[] list of samples..FileIO.logMsgln(java.lang.String)
,
MaHPquantTable
,
MathMAE.logZero(double)
int lookupGeneFromXY(java.awt.Point xy)
xy
- is the xy coordinate near the spot.float scaleIntensData(float dataI)
dataI
- is the raw intensity of a spotMaeJavaAPI.getActiveNormalization()
,
MaeJavaAPI.getNormalizationState()
float scaleIntensData(float dataI, int gid)
dataI
- is the raw intensity of a spotgid
- is GID of the spotMaeJavaAPI.getActiveNormalization()
,
MaeJavaAPI.getNormalizationState()
float cvRI2HistScale(int gid)
Get the raw intensity data for spot gid and scale to a) log(f1/f2) if ratio mode b) raw intensity for spot ms.scaleToMaxIV if > 65K c) else raw intensity for spot.
gid
- is Grid Index IDMathMAE.logZero(double)
float cvHist2RIscale(float hData)
Get raw intensity data inverse histogram data for a) log(f1/f2) if ratio mode b) raw intensity for spot ms.scaleToMaxIV if > 65K c) else raw intensity for spot.
hData
- is the histogram value to be scaledboolean calcIntensScaleExtrema()
MaeJavaAPI.getActiveNormalization()
,
MaeJavaAPI.getNormalizationState()
SpotData getSpotDataStatic(int gid, boolean useF1F2ratioFlag)
gid
- is the Grid Index (GID)useF1F2ratioFlag
- to compute F1/F2 ratio dataSpotData.setSpotData(MaHybridSample, int, int, int, float)
,
getRawIntens(int, boolean)
,
scaleIntensData(float)
SpotData getSpotData12Static(int gid1, int gid2, boolean useF1F2ratioFlag)
gid1
- is the Grid Index (GID) F1gid2
- is the Grid Index (GID) F2useF1F2ratioFlag
- to compute F1/F2 ratio dataSpotData.setSpotData1(MaHybridSample, java.awt.Point, int, float)
,
SpotData.setSpotData2(MaHybridSample, java.awt.Point, int, float)
,
getRawIntens(int, boolean)
,
scaleIntensData(float)
int getF1F2Data(float[] xList, float[] yList, int[] propList, GeneList ml, boolean setPropsFlag, boolean useF1F2ratioFlag, boolean filterByMLflag)
xList[max
- # genes to get] Return F1 valuesyList[max
- # genes to get] Return optional F2 valuespropList[max
- # genes to get] gene property valuesml
- is the GeneList to save genes in if not null or filter by
GeneList. To filter by all genes, set ml to set of all genes
mae.gct.allGenesCLsetPropsFlag
- set the propList[] data from workingCL as
IS_FILTERED or IS_NOT_FILTEREDuseF1F2ratioFlag
- pass onto getSpotData12Static()filterByMLflag
- if true, then filter by ml GeneList.Gene.setGeneData(float)
,
GeneBitSet.isItemInGeneBitSet(int)
,
GeneList.clearNull()
,
GeneList.setGene(Gene, int)
,
Filter.isMIDinWorkingCL(int)
,
getSpotData12Static(int, int, boolean)
boolean computeMinMaxF1F2Data(boolean useF1F2ratioFlag, boolean useAllGenesFlag)
useF1F2ratioFlag
- to compute F1/F2 ratio datauseAllGenesFlag
- to use all genes else use the workingCL gene listFilter.isMIDinWorkingCL(int)
,
getSpotData12Static(int, int, boolean)
float getDataByGID(int gid, boolean useF1F2ratioFlag, int type)
gid
- is the Grid Index GID for spotuseF1F2ratioFlag
- to compute F1/F2 ratio datatype
- is DATA_MEAN_F1F2TOT or DATA_RATIO_F1F2TOT, DATA_F1TOT, or DATA_F2TOTgetSpotDataStatic(int, boolean)
,
getSpotData12Static(int, int, boolean)
float getRawDataByGID(int gid, boolean useF1F2ratioFlag, int type)
gid
- is the GeneID GID for the spotuseF1F2ratioFlag
- if set get the F1/F2 ratio else F1 datatype
- is access method: DATA_MEAN_F1F2TOT, DATA_RATIO_F1F2TOT,
DATA_F1TOT, or DATA_F2TOTgetRawIntens(int, boolean)
final float getRawIntens(int gid, boolean useF1F2ratioFlag)
If background subtraction is enabled then I1= (signal1 - bkgrdQ1)and I2= (signal2 - bkgrdQ2). else I1= signal1, and I2= signal2. If using ratio data, then return ratio (I1/I2) else I1. If using ratioMedianScaling, then also multiply ratio data by scaling factor (ratioMedianScale if not subtracting background and by ratioMedianBkgdScale if we are subtracting background).
gid
- is the Grid index ID GID for the spotuseF1F2ratioFlag
- then return ratio of F1/F2 else F1.Maps
final float getRawBkgrd(int gid)
gid
- is the Grid index ID GID for the spotboolean calcIntensHist()
Filter.isMIDinWorkingCL(int)
,
Statistics.calcHistStats(java.lang.String, int, float[], int)
,
cvHist2RIscale(float)
,
getDataByGID(int, boolean, int)
boolean calcMeanCalDNA()
Statistics.calcHistStats(java.lang.String, int, float[], int)
,
cvHist2RIscale(float)
,
getRawDataByGID(int, boolean, int)
boolean calcMeanUseNormGeneSet()
Statistics.calcHistStats(java.lang.String, int, float[], int)
,
cvHist2RIscale(float)
,
getRawDataByGID(int, boolean, int)
boolean swapCy5Cy3AndReCalcStats()
void clearHPglobalStats()
boolean recalcGlobalStats(boolean useGoodSpotsOnlyFlag)
useGoodSpotsOnlyFlag
- to only use good spots in computing statistics.clearHPglobalStats()
,
cvtRawQdataToMAEdata(boolean)
boolean cvtRawQdataToMAEdata(boolean screenGoodGenesFlag)
screenGoodGenesFlag
- to only use good spots in computing statistics.MathMAE.logZero(double)
,
Statistics.calcHistStats(java.lang.String, int, float[], int)
,
cvHist2RIscale(float)
,
cvRI2HistScale(int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |