|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ExprProfile
The class creates an nHP_E sample expression profile object for a gene. The gene is specified by its mid for the HPs in HP-E condition list of samples. Note these arrays are indexed [0:nHP_E-1]. This contains data, but no graphics.
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/.
ExprProfileCanvas
,
ExprProfileOverlay
,
Filter.setGeneListBySpotCV(GeneList, GeneList, float, int)
,
Filter.setPostiveQuantData(GeneList, GeneList, int)
,
Report.createTableOfExprProfiles(Gene[], int, boolean)
Field Summary | |
(package private) float[] |
cvData
Coefficient of variation all HP-E samples |
(package private) boolean |
didDataSetupFlag
flag: set by setupData() if successful |
(package private) boolean |
doMeanPlotsFlag
flag: generate mean plots (of the clusters) else individual plots |
(package private) int |
gid1
GID derived from mid |
(package private) int |
gid2
(opt) ganged GID derived from mid |
(package private) float[] |
hpData
normalized quantified data for all HP-E samples |
(package private) float[] |
hpDataMn
opt. |
(package private) int |
hpDataNbr
opt. |
(package private) float[] |
hpDataSD
opt. |
(package private) java.lang.String[] |
hpLabel
(hpName,hpData,cvData) HP-E samples |
(package private) java.lang.String[] |
hpName
names for all HP-E samples |
private MAExplorer |
mae
link to global MAExplorer instance |
private Maps |
map
link to global Maps instance |
(package private) float |
maxHPdataMn
opt. |
(package private) float |
maxMean
maximum of the hpDataMn[] values |
(package private) int |
mid
ARG: Master Gene ID (MID) for gene we are creating if != -1 |
(package private) int |
nGeneClustersCnt
# clustered genes to this mid |
(package private) int |
nHP_E
# of HP's to draw after setup |
(package private) boolean |
normToOneFlag
flag: normalize hpData[] & cvData[] to 1.0 |
(package private) int[] |
xCoord
X coords for all HP-E vert lines in canvas for event handler... |
(package private) int |
y1Coord
Y coord for horizontal axis for vertical line, else is label for setting current gene |
Constructor Summary | |
(package private) |
ExprProfile(MAExplorer mae,
int mid,
boolean normToOneFlag)
ExprProfile() - Constructor to create expresion profile object |
Method Summary | |
(package private) boolean |
setupData(int mid)
setupData() - setup the data arrays for the other computations |
(package private) boolean |
updateData(int mid)
updateData() - update expression profile with new gene data |
(package private) boolean |
updateData(int mid,
boolean doMeanPlotsFlag,
int hpDataNbr,
float maxHPdataMn,
float[] hpDataMn,
float[] hpDataSD)
updateData() - update expression profile with new gene and mean data |
Methods inherited from class java.lang.Object |
|
Field Detail |
private MAExplorer mae
private Maps map
boolean normToOneFlag
boolean doMeanPlotsFlag
boolean didDataSetupFlag
int mid
int gid1
int gid2
int nGeneClustersCnt
int nHP_E
java.lang.String[] hpLabel
java.lang.String[] hpName
int hpDataNbr
float maxMean
float[] hpData
float maxHPdataMn
float[] hpDataMn
float[] hpDataSD
float[] cvData
int y1Coord
int[] xCoord
Constructor Detail |
ExprProfile(MAExplorer mae, int mid, boolean normToOneFlag)
mae
- is the MAExplorer instancemid
- is the Master Gene Index if not -1normToOneFlag
- normalize data to 1.0 if setsetupData(int)
Method Detail |
boolean updateData(int mid)
mid
- is the Master Gene Index to use in computing expression profilesetupData(int)
boolean updateData(int mid, boolean doMeanPlotsFlag, int hpDataNbr, float maxHPdataMn, float[] hpDataMn, float[] hpDataSD)
mid
- is the Master Gene Index to use in compouting expression profiledoMeanPlotsFlag
- generate mean plots (of the clusters) else individual plotshpDataNbr
- is the number of samples/Expr profilemaxHPdataMn
- opt. max mean normalized quantified data for all samples and geneshpDataMn
- is Returned list of mean data if doing mean plotshpDataSD
- is Returned list of StdDev data if doing mean plotssetupData(int)
boolean setupData(int mid)
mid
- is the Master Gene Index to use in compouting expression profileMaHybridSample.getDataByGID(int, boolean, int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |