|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--GridCoords
The class contains data structures to map a spot on the array to a GRC coodinate. The GRC stands for (grid,row, grid_row, grid_column) coordinate. This lets us generate maps to convert gene microarray spot grid coordinates to and from GID/MID index values.
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/.
Field Summary | |
int |
c
col # |
int |
f
field # |
int |
g
grid # |
int |
gid
index cooresponding to ...[f][g][r][c] |
private static MAExplorer |
mae
link to global MAExplorer instance |
int |
r
row # |
Constructor Summary | |
|
GridCoords()
GridCoords() - constructor to build empty instance. |
(package private) |
GridCoords(int f,
int g,
int r,
int c,
int gid)
GridCoords() - constructor of individual grid coordinates for a gid spot. |
(package private) |
GridCoords(MAExplorer mae)
GridCoords() - constructor which builds (f,g,r,c) - (gid or cid) mapping tables. |
Method Summary | |
(package private) void |
createIndexToGridCoordMap()
createIndexToGridCoordMap() - once only FGRC <--> gid map creation. |
java.lang.String |
cvtFGRC2str(int f,
int g,
int r,
int c,
boolean useFieldNameFlag)
cvtFGRC2str() - convert grid coordinate f,g,r,c to string name |
java.lang.String |
cvtGID2str(int gid,
boolean useFieldNameFlag)
cvtGID2str() - convert grid coord GridCoords(gid) to string name |
GridCoords |
cvtNAME_GCR2FGRC(int field,
java.lang.String sGRC)
cvtNAME_GCR2FGRC() - parse Molecular Dynamics "GRID- 8-R12C11" coding to FGRC coords. |
java.lang.String |
toString(boolean useFieldNameFlag)
toString() - convert grid coordinate instance to string name |
Methods inherited from class java.lang.Object |
|
Field Detail |
private static MAExplorer mae
public int f
public int g
public int r
public int c
public int gid
Constructor Detail |
public GridCoords()
GridCoords(MAExplorer mae)
mae
- is instance of MAExplorercreateIndexToGridCoordMap()
GridCoords(int f, int g, int r, int c, int gid)
f
- is field #g
- is grid #r
- is grid-row #c
- is grid-column #gid
- is Grid Index ID GID valueMethod Detail |
void createIndexToGridCoordMap()
public final java.lang.String toString(boolean useFieldNameFlag)
useFieldNameFlag
- returns field name else field #cvtFGRC2str(int, int, int, int, boolean)
public final java.lang.String cvtFGRC2str(int f, int g, int r, int c, boolean useFieldNameFlag)
f
- is field #g
- is grid #r
- is grid-row #c
- is grid-column #useFieldNameFlag
- returns field name else field #public final java.lang.String cvtGID2str(int gid, boolean useFieldNameFlag)
gid
- is Grid Index ID GID valueuseFieldNameFlag
- returns field name else field #public GridCoords cvtNAME_GCR2FGRC(int field, java.lang.String sGRC)
field
- is explicit field #sGRC
- is the NAME_GRC dataUtil.cvs2i(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |