|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Gene
Field Summary | |
(package private) static int |
C_ATCC_ID
Gene property: Clone is an ATCC numbered clone |
(package private) static int |
C_BAD_DATA
property: gene has bad data |
(package private) static int |
C_BAD_LOCAL_SPOT_BKGRD
Gene property: bad local spot background |
(package private) static int |
C_BAD_MID
Gene property: the gene is bad, good gene name |
(package private) static int |
C_BAD_SPOT
Gene property: non-analyzable gene (eg. |
(package private) static int |
C_BAD_SPOT_GEOMETRY
Gene property: bad spot geometry |
(package private) static int |
C_DUP_SPOT
Gene property: is duplicate of another gene on array |
(package private) static int |
C_GOOD_MID
Gene property: the gene is good, good gene name. |
(package private) static int |
C_IMAGE_ID
Gene property: Clone is an I.M.A.G.E. |
(package private) static int |
C_IS_CUR_GENE
Gene property: is Current Gene (not normally used) |
(package private) static int |
C_IS_EGL_GENE
Gene property: is an E.G. |
(package private) static int |
C_IS_FILTERED
Gene property: is a gene that did pass data Filter |
(package private) static int |
C_IS_KMEANS
Gene property: Is a K-means node gene |
(package private) static int |
C_IS_NOT_FILTERED
Gene property: is a gene that did not pass data Filter |
(package private) static int |
C_LOW_SPOT_REF_SIGNAL
Gene property: low spot reference signal |
(package private) static int |
C_MARGINAL_SPOT
Gene property: Marginal spot |
(package private) static int |
C_USE_GBID_FOR_CLONEID
Gene property: use GenBank ID for Clone ID |
private static Config |
cfg
link to global Config instance |
(package private) java.lang.String |
Clone_ID
I.M.A.G.E clone id #, or "your plate", etc. |
(package private) int |
clusterNodeNbr
if >0, then this the cluster node in K-means clustering |
(package private) java.lang.String |
comments
--- options may or may not be used --- |
(package private) float |
cv
optional computed coefficient of variation (CV) if doing statistical test |
(package private) float |
data
dynamic generic data such as ratio, etc associated with this gene |
(package private) float |
data1
dynamic generic data for Field 1 associated with this gene |
(package private) float |
data2
dynamic generic data for Field 2 associated with this gene |
(package private) java.lang.String |
dbEST3
NCBI dbEST database 3' id |
(package private) java.lang.String |
dbEST5
NCBI dbEST database 5' id |
(package private) java.lang.String |
GenBankAcc
NCBI GenBankAcc id if it exists |
(package private) java.lang.String |
GenBankAcc3
NCBI GenBankAcc 3' id if it exists |
(package private) java.lang.String |
GenBankAcc5
NCBI GenBankAcc 5' id if it exists |
(package private) java.lang.String |
Gene_Class
opt. |
(package private) java.lang.String |
Gene_Name
opt. |
(package private) float |
geneDist
Opt. |
(package private) java.lang.String |
Generic_ID
Generic Identifier - "if all else fails" the use may use some arbitrary unique ID |
(package private) java.lang.String[] |
GenomicID
(Optional) External Genomic IDs values if specified via the MaeConfig.txt or .mae startup files. |
(package private) int |
gid
a Grid Identifier (GID) index index corresponding to MasterID. |
(package private) java.lang.String |
LocusID
NCBI LocusLink LocusID if it exists |
private static MAExplorer |
mae
link to global MAExplorer instance |
private static Maps |
map
link to global Maps instance |
(package private) java.lang.String |
Master_ID
Master Gene Identifier (i.e. |
(package private) java.lang.String |
MasterGeneName
Master Gene Name will be one of the gene names below ([NOTE] as of V.0.90.01) |
(package private) int |
mid
Master gene ID index # (MID). |
(package private) int[] |
midList
list of all mids for duplicats of this Gene [0:nMid-1] that occurs more than 2X in the in GIPO |
(package private) int |
nGeneClustersCnt
# of genes in cluster at cluster distance threshold. |
(package private) int[] |
nGenomicID
(Optional) If generic IDs are used this will contain the INDEX of the cfg.sGenomicMenu[] entry. |
(package private) int |
nMid
# of genes in midList[] for this gene |
(package private) java.lang.String |
OmimID
NCBI OMIM ID if it exists |
(package private) java.lang.String |
plate
plate where clone was from |
(package private) java.lang.String |
plate_col
plate where clone was from |
(package private) java.lang.String |
plate_row
plate where clone was from |
(package private) int |
properties
properties of the gene defined by one or more C_xxxx bits |
(package private) float |
pValue
optional computed p-value if doing statistical test |
(package private) java.lang.String |
RefSeqID
NCBI RefSeq ID if it exists |
(package private) java.lang.String |
SwissProt
Swiss-Prot ID if it exists |
(package private) java.lang.String |
UGclusterName
opt. |
(package private) java.lang.String |
Unigene_ID
NCBI Unigene cluster if it exists |
Constructor Summary | |
(package private) |
Gene(int gid,
int mid)
Gene() - constructor with gid, mid and no quantified data. |
(package private) |
Gene(MAExplorer maE)
Gene() - constructor to set up global mae instance - MUST BE CALLED FIRST!!! Note: we only need the mae instance to setup the map instance. |
Method Summary | |
(package private) void |
assignMasterGeneName(int masterGeneNameMode)
assignMasterGeneName() - assign MasterGeneName using masterGeneNameMode for current database configuration. |
(package private) void |
assignMasterID(int masterIDmode)
assignMasterID() - assign Master_ID using masterIDmode using existing data. |
(package private) int |
clearGeneProperty(int propToTest)
clearGeneProperty() - clear C_xxxx gene properties. |
(package private) boolean |
isGeneProperty(int propToTest)
isGeneProperty() - test if C_xxxx gene property is set. |
(package private) java.lang.String |
lookupIDbyName(java.lang.String idName)
lookupIDbyName() - lookup the genomic gene id value given the ID name. |
(package private) void |
setGeneData(float data)
setGeneData() - set gene quantified data |
(package private) void |
setGeneData(float data,
float data1,
float data2)
setGeneData() - set quantified gene data, data1 and data2 |
(package private) void |
setGeneData(float data,
float data1,
float data2,
float pValue)
setGeneData() - set quantified gene data, data1 and data2 |
(package private) void |
setGeneData1AndData2(float data1,
float data2)
setGeneData1AndData2() - set quantified gene data1 and data2 |
(package private) void |
setGeneDist(float geneDist)
setGeneDist() - set gene cluster distance (only used if clustering). |
(package private) int |
setGeneProperty(int propToTest)
setGeneProperty() - set C_xxxx gene properties. |
(package private) void |
setplateData(java.lang.String plate,
java.lang.String plate_row,
java.lang.String plate_col)
setplateData() - set gene plate data (plate, plate_row, plate_col) |
(package private) static void |
sortGeneList(Gene[] cList,
int nClist,
boolean sortAssendingFlag)
sortGeneList() - bubble sort gene list by associated gene.data field |
java.lang.String |
toString()
toString() - generate prettyprint gene data string |
Methods inherited from class java.lang.Object |
|
Field Detail |
private static MAExplorer mae
private static Maps map
private static Config cfg
static final int C_IS_KMEANS
static final int C_GOOD_MID
static final int C_BAD_MID
static final int C_DUP_SPOT
static final int C_BAD_SPOT
static final int C_IMAGE_ID
static final int C_ATCC_ID
static final int C_USE_GBID_FOR_CLONEID
static final int C_MARGINAL_SPOT
static final int C_BAD_SPOT_GEOMETRY
static final int C_BAD_LOCAL_SPOT_BKGRD
static final int C_LOW_SPOT_REF_SIGNAL
static final int C_IS_EGL_GENE
static final int C_IS_FILTERED
static final int C_IS_NOT_FILTERED
static final int C_IS_CUR_GENE
static final int C_BAD_DATA
int mid
int gid
int nMid
int[] midList
java.lang.String Master_ID
java.lang.String MasterGeneName
java.lang.String Gene_Name
java.lang.String UGclusterName
java.lang.String Generic_ID
java.lang.String Clone_ID
java.lang.String GenBankAcc
java.lang.String GenBankAcc3
java.lang.String GenBankAcc5
java.lang.String Unigene_ID
java.lang.String OmimID
java.lang.String dbEST3
java.lang.String dbEST5
java.lang.String SwissProt
java.lang.String RefSeqID
java.lang.String LocusID
java.lang.String[] GenomicID
int[] nGenomicID
java.lang.String comments
java.lang.String Gene_Class
java.lang.String plate
java.lang.String plate_row
java.lang.String plate_col
float data
float data1
float data2
float pValue
float cv
float geneDist
int clusterNodeNbr
int nGeneClustersCnt
int properties
Constructor Detail |
Gene(MAExplorer maE)
maE
- is instance of MAExplorerGene(int gid, int mid)
Method Detail |
void assignMasterID(int masterIDmode)
masterIDmode
- is current mode of the genomic ID assigned as master IDjava.lang.String lookupIDbyName(java.lang.String idName)
idName
- is the gene name used to lookup the ID valueSimpleTable.lookupFieldIdx(java.lang.String)
void assignMasterGeneName(int masterGeneNameMode)
masterGeneNameMode
- for this genevoid setGeneData(float data)
data
- is computed data for this genevoid setGeneData(float data, float data1, float data2)
data
- is computed data for this genedata1
- is data for channel 1 for this genedata2
- is data for channel 2 for this genevoid setGeneData(float data, float data1, float data2, float pValue)
data
- is computed data for this genedata1
- is data for channel 1 for this genedata2
- is data for channel 2 for this genepValue
- data for this genevoid setGeneData1AndData2(float data1, float data2)
data1
- is data for channel 1 for this genedata2
- is data for channel 2 for this genevoid setGeneDist(float geneDist)
geneDist
- cluster distance for this gene to center of clustervoid setplateData(java.lang.String plate, java.lang.String plate_row, java.lang.String plate_col)
plate
- source plate for this gene's cDNAplate_row
- source plate row for this gene's cDNAplate_col
- source plate column for this gene's cDNAint setGeneProperty(int propToTest)
propToTest
- bit or bits to test set for this geneint clearGeneProperty(int propToTest)
propToTest
- bit or bits to test set for this geneboolean isGeneProperty(int propToTest)
propToTest
- bit or bits to test if any are present for this genestatic void sortGeneList(Gene[] cList, int nClist, boolean sortAssendingFlag)
cList
- list of genes to be sorted [0:nClist-1]nClist
- size of gene listsortAssendingFlag
- flag to specifry assending or descending sortpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |