|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectobject.common.ImageManager
public class ImageManager
Description
ImageManager Object is used to access data from quantification file and
display it at the screen in the Microarray data managment web interface
Infos : KLB - IPMC - 08/2003
Organism,
Oligo,
Exon,
Cytoband,
Oligo_externe,
Oligo_adhoc,
GoLink,
Serialized Form| Field Summary | |
|---|---|
private java.lang.String |
appli
External application reference for download file (directory : 'file') |
private int |
array_1
Int concerning the first microarray for graph visualization (directory : 'graph') |
private int |
array_2
Int concerning the second microarray for graph visualization (directory : 'graph') |
private double |
Bvalue
|
private java.lang.String |
directory
Type of datas to display at screen, could be : - 'select' : selection of microarrays - 'imag' : visualization of image of microarray quantification - 'cart' : download of gene datas according to the gene cart - 'file' : download of pre-formatted files for external applications - 'chro' : visuallization of genes cart on a chromosome map - 'graphe' : visualization of graphs concerning microarrays selected - 'image' : modification of quantification image light and contrast |
private DisplayParams |
displayParams
DisplayParams Object contains informations about displaying images (directory : 'file') |
private GeneCart |
genecart
GeneCart Object for this ImageManager Object |
private java.util.Hashtable |
hashCalcul
Hashtable containing values of calcul asked by user |
protected static java.util.Hashtable |
hashColor
|
private java.util.Hashtable |
hashDatas
Hashtable containing Quantification_file Object |
private java.util.Hashtable |
hashFile
Hashtable containing Files path downloadables |
private java.util.Hashtable |
hashImage
Hashtable containing Images path displayed on screen |
protected static java.util.Hashtable |
hashLegend
|
private java.util.Hashtable |
hashMap
Hashtable containing Html Maps for Images displayed on screen |
private java.lang.String[] |
labRefList
String[] containing distinct labeling references among the Project_order Object concerned |
private double |
logFC
|
private int |
nb_bloc
Numero of the bloc to display at the screen |
private boolean |
onlyCart
True if only genes in cart must be displayed on the visualization graph (directory : 'graph') |
protected static java.lang.String |
pathImages
|
protected static java.lang.String |
pathMicroarray
|
protected static java.lang.String |
pathSpotting
|
protected static java.lang.String |
pathTmp
|
private Project_order |
project_order
Project_order Object concerning this ImageManager Object |
private Rstat |
rstat
|
private int |
size_spot
|
private java.lang.String |
title_graph
Title of graph |
private java.lang.String |
toptable
|
private boolean |
twoarraygraph
|
private java.lang.String |
type_graphe
Type of graph for visualization (directory : 'graph') |
private int |
user_id
ID of User owning this ImageManager Object |
private java.util.Vector |
vectorMicroarrays
Vector containing Microarray Objects selected for visualization |
| Constructor Summary | |
|---|---|
ImageManager()
Default constructor |
|
ImageManager(int user_id,
Project_order project_order)
Constructs an ImageManager object |
|
| Method Summary | |
|---|---|
void |
addToCart()
|
void |
addToCart(int i)
|
java.lang.String[] |
bubbleSearch(java.lang.String[] symbol)
This function proceed to a bubble sort on a String[] |
void |
createApplicationFile(java.util.Hashtable hashParams)
This function proceed to the creation of the External Application files. |
void |
createDatasFile(java.util.Hashtable hashParams)
This function proceed to the creation of the Datas files. |
void |
createGeneAnovaFile(java.util.Vector vectorMicroarray)
This function proceed to the creation of GeneAnova analysis. |
void |
createGEOFile(java.util.Vector vectorMicroarray)
This function proceed to the creation of GEO submission file. |
void |
createGEOMatrix(java.util.Vector vectorMicroarray)
This function proceed to the creation of GEO matrix submission file. |
void |
createIngenuityFile(Toptable toptable)
This function proceed to the creation of Ingenuity file. |
void |
createLimmaFile(java.util.Vector vectorMicroarray)
This function proceed to the creation of the Limma Application file. |
void |
createMageFile(java.util.Vector vectorMicroarray)
This function proceed to the creation of the ArrayExpress submission files. |
void |
createMEVFile(java.util.Vector vectorMicroarray)
This function proceed to the creation of . |
java.lang.String |
getAppli()
External application reference for download file (directory : 'file') |
int |
getArray_1()
Int concerning the first microarray for graph visualization (directory : 'graph') |
int |
getArray_2()
Int concerning the second microarray for graph visualization (directory : 'graph') |
double |
getBvalue()
Bvalue for features filtration |
java.lang.String |
getDirectory()
Type of datas to display at screen, could be : - 'select' : selection of microarrays - 'imag' : visualization of image of microarray quantification - 'cart' : download of gene datas according to the gene cart - 'file' : download of pre-formatted files for external applications - 'chro' : visuallization of genes cart on a chromosome map - 'graphe' : visualization of graphs concerning microarrays selected - 'image' : modification of quantification image light and contrast |
DisplayParams |
getDisplayParams()
DisplayParams Object contains informations about displaying images (directory : 'file') |
GeneCart |
getGenecart()
GeneCart Object for this ImageManager Object |
java.lang.String |
getGroupe(java.lang.String oligo_id,
java.lang.String name,
double b,
double logFC)
|
java.util.Hashtable |
getHashCalcul()
Hashtable containing values of calcul asked by user |
java.util.Hashtable |
getHashColor()
Hashtable containing values of color mapping |
java.util.Hashtable |
getHashCourbes()
|
java.util.Hashtable |
getHashDatas()
Hashtable containing Quantification_file Object |
java.util.Hashtable |
getHashFile()
Hashtable containing Files path downloadables |
java.util.Hashtable |
getHashImage()
Hashtable containing Images path displayed on screen |
java.util.Hashtable |
getHashMap()
Hashtable containing Html Maps for Images displayed on screen |
java.util.Hashtable |
getHashPoints()
This function proceed to the creation of the Hashtable needed for the makeImage function of ImageManager. |
java.util.Hashtable |
getHashPointsToptable()
This function proceed to the creation of the Hashtable needed for the makeImage function of ImageManager. |
java.lang.String[] |
getLabRefList()
String[] containing distinct labeling references among the Project_order Object concerned |
double |
getLogFC()
logFC for features filtration |
int |
getNb_bloc()
Numero of the bloc to display at the screen |
boolean |
getOnlyCart()
True if only genes in cart must be displayed on the visualization graph (directory : 'graph') |
double |
getPearson(java.util.Hashtable hashPoints)
|
Project_order |
getProject_order()
Project_order Object concerning this ImageManager Object |
Rstat |
getRstat()
Rstat |
int |
getSize_spot()
Size of spot for features illustration |
java.lang.String |
getToptable()
Toptable for features filtration |
java.lang.String |
getType_graphe()
Type of graph for visualization (directory : 'graph') |
int |
getUser_id()
ID of User owning this ImageManager Object |
java.util.Vector |
getVectorMicroarrays()
Vector containing Microarray Objects selected for visualization |
void |
loadHashColor()
This function load Graph Colors for User. |
void |
loadLabRefList(int project_order_id)
This function load attribute labRefList with distinct labbeling reference among the Project_order Object |
void |
makeBgDistribGraph()
|
void |
makeChromoImage()
This function proceed to the creation of the image of chromosomes according to the Gene Object stored in the cart parameter. |
void |
makeGraphs(java.util.Hashtable hashPoints,
boolean as_line)
This function proceed to the generation of graphe image. |
void |
proceed()
This function proceed to Image creation in the visualization directory 'imag'. |
void |
proceedCalcul(java.lang.String type)
This function proceed to the calcul of Quality Control defined in the type parameter received. |
void |
proceedGraphs()
|
void |
proceedPlate384(int index)
This function proceed to the creation of an image reformatting the Plate384 Object from the image of the Microarray hybridization. |
void |
proceedPlate96(int index)
This function proceed to the creation of an image reformatting the Plate96 Object from the image of the Microarray hybridization. |
void |
resetCart()
|
void |
resetImages()
This function reset images Path from the hastable this.hashImage |
void |
saveCart(java.lang.String desciption)
|
void |
saveHashColor(int user_id)
This function save or update Graph Colors for User. |
void |
setAppli(java.lang.String appli)
|
void |
setArray_1(int array_1)
|
void |
setArray_2(int array_2)
|
void |
setBvalue(double Bvalue)
|
void |
setDirectory(java.lang.String directory)
|
void |
setDisplayParams(DisplayParams displayParams)
|
void |
setGenecart(GeneCart genecart)
|
void |
setHashCalcul(java.util.Hashtable hashCalcul)
|
void |
setHashColor(java.util.Hashtable hashColor)
|
void |
setHashDatas(java.util.Hashtable hashDatas)
|
void |
setHashFile(java.util.Hashtable hashFile)
|
void |
setHashImage(java.util.Hashtable hashImage)
|
void |
setHashMap(java.util.Hashtable hashMap)
|
void |
setLabRefList(java.lang.String[] labRefList)
|
void |
setLogFC(double logFC)
|
void |
setNb_bloc(int nb_bloc)
|
void |
setOnlyCart(boolean onlyCart)
|
void |
setProject_order(Project_order project_order)
|
void |
setRstat(Rstat rstat)
|
void |
setSize_spot(int size_spot)
|
void |
setStaticParams(java.util.Hashtable configFields)
Initialize static parameters from the configuration file - pathMicroarray - pathSpotting - pathImages - pathTmp |
void |
setToptable(java.lang.String toptable)
|
void |
setType_graphe(java.lang.String type_graphe)
|
void |
setUser_id(int user_id)
|
void |
setVectorMicroarrays(java.util.Vector vectorMicroarrays)
|
void |
update(java.lang.String slide_code)
This function update the list of Microarrays in the attribute this.vectorMicroarrays |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Project_order project_order
private java.util.Vector vectorMicroarrays
private GeneCart genecart
private int user_id
private int nb_bloc
private java.lang.String directory
private java.lang.String appli
private java.util.Hashtable hashMap
private java.util.Hashtable hashImage
private java.util.Hashtable hashFile
private java.util.Hashtable hashCalcul
private java.util.Hashtable hashDatas
private java.lang.String[] labRefList
private DisplayParams displayParams
private int array_1
private int array_2
private java.lang.String type_graphe
private java.lang.String title_graph
private boolean onlyCart
private java.lang.String toptable
private double Bvalue
private double logFC
private int size_spot
private boolean twoarraygraph
private Rstat rstat
protected static java.lang.String pathMicroarray
protected static java.lang.String pathSpotting
protected static java.lang.String pathImages
protected static java.lang.String pathTmp
protected static java.util.Hashtable hashColor
protected static java.util.Hashtable hashLegend
| Constructor Detail |
|---|
public ImageManager()
public ImageManager(int user_id,
Project_order project_order)
user_id - ID of existing User Objectproject_order - Project_order Object to visualizeProject_order,
DisplayParams| Method Detail |
|---|
public void setStaticParams(java.util.Hashtable configFields)
public int getUser_id()
public void setUser_id(int user_id)
public int getNb_bloc()
public void setNb_bloc(int nb_bloc)
public java.lang.String getDirectory()
public void setDirectory(java.lang.String directory)
public java.lang.String getAppli()
public void setAppli(java.lang.String appli)
public GeneCart getGenecart()
public void setGenecart(GeneCart genecart)
public java.util.Hashtable getHashMap()
public void setHashMap(java.util.Hashtable hashMap)
public java.util.Hashtable getHashImage()
public void setHashImage(java.util.Hashtable hashImage)
public java.util.Hashtable getHashFile()
public void setHashFile(java.util.Hashtable hashFile)
public java.util.Hashtable getHashCalcul()
public void setHashCalcul(java.util.Hashtable hashCalcul)
public java.util.Hashtable getHashColor()
public void setHashColor(java.util.Hashtable hashColor)
public Project_order getProject_order()
public void setProject_order(Project_order project_order)
public java.util.Vector getVectorMicroarrays()
public void setVectorMicroarrays(java.util.Vector vectorMicroarrays)
public DisplayParams getDisplayParams()
public void setDisplayParams(DisplayParams displayParams)
public int getArray_1()
public void setArray_1(int array_1)
public int getArray_2()
public void setArray_2(int array_2)
public java.lang.String getType_graphe()
public void setType_graphe(java.lang.String type_graphe)
public boolean getOnlyCart()
public void setOnlyCart(boolean onlyCart)
public java.lang.String[] getLabRefList()
public void setLabRefList(java.lang.String[] labRefList)
public java.util.Hashtable getHashDatas()
public void setHashDatas(java.util.Hashtable hashDatas)
public java.lang.String getToptable()
public void setToptable(java.lang.String toptable)
public double getBvalue()
public void setBvalue(double Bvalue)
public double getLogFC()
public void setLogFC(double logFC)
public int getSize_spot()
public void setSize_spot(int size_spot)
public Rstat getRstat()
public void setRstat(Rstat rstat)
public void resetCart()
public void addToCart()
public void addToCart(int i)
public void saveCart(java.lang.String desciption)
public void loadLabRefList(int project_order_id)
project_order_id - ID of Project_order concerning this ImageManager Objectpublic void resetImages()
public void update(java.lang.String slide_code)
slide_code - slide_code of the microarray concernedMicroarray,
Microarray.Microarray(String)
public void proceed()
throws java.lang.Exception
java.lang.ExceptionbubbleSearch(String[]),
Feature,
Microarray,
Microarray.Microarray(int),
Spotting,
Spotting.Spotting(int),
Scanpublic java.lang.String[] bubbleSearch(java.lang.String[] symbol)
symbol - String[] which this function make a bubble sort
public void createDatasFile(java.util.Hashtable hashParams)
hashParams - Hastable containing all informations for creating the datas file, .xls formatpublic void createApplicationFile(java.util.Hashtable hashParams)
hashParams - Hastable containing all informations for creating the External Application file, .tar.gz formatpublic void createGEOFile(java.util.Vector vectorMicroarray)
vectorMicroarray - Vector of microarray Object for which we have to create a .gz archive for GEO submissionpublic void createGeneAnovaFile(java.util.Vector vectorMicroarray)
vectorMicroarray - Vector of microarray Object for which we have to create a .gz archive for GeneAnova analysispublic void createMEVFile(java.util.Vector vectorMicroarray)
vectorMicroarray - Vector of microarray Object for which we have to create a .gz archive for MEV applicationpublic void createLimmaFile(java.util.Vector vectorMicroarray)
vectorMicroarray - Vector of microarray Object for which we have to create a .gz archive for Limma Applicationpublic void createMageFile(java.util.Vector vectorMicroarray)
vectorMicroarray - Vector of microarray Object for which we have to create a .gz archive for ArrayExpress submissionpublic void createIngenuityFile(Toptable toptable)
toptable - toptable Object for which we need an Ingenuity file.
public void makeChromoImage()
throws java.lang.Exception
java.lang.Exception
public void proceedPlate384(int index)
throws java.lang.Exception
index - Number of the Plate384 in the .BCR file of the Spotting Object from which we begin to reformt the Plate384 OBject and the next 8 Plate384.
java.lang.ExceptionMicroarray,
Spotting,
Plate,
Plate384,
Scan
public void proceedPlate96(int index)
throws java.lang.Exception
index - Number of the Plate96 in the .BCR file of the Spotting Object from which we begin to reformt the Plate96 OBject and the next 8 Plate96.
java.lang.ExceptionMicroarray,
Spotting,
Plate,
Plate96,
Scanpublic void proceedGraphs()
public void makeGraphs(java.util.Hashtable hashPoints,
boolean as_line)
throws java.lang.Exception
hashPoints - Hashtable of Point Object concerned by this graph.as_line - boolean true if we need Point object to be link with line onto the graph image produced.
java.lang.ExceptionPoint
public java.util.Hashtable getHashPoints()
throws java.lang.Exception
java.lang.ExceptionMicroarray,
Microarray.Microarray(int),
Microarray_project_type,
Microarray_project_type.getShortRef(),
Scan,
Point
public java.util.Hashtable getHashPointsToptable()
throws java.lang.Exception
java.lang.ExceptionMicroarray,
Microarray.Microarray(int),
Microarray_project_type,
Microarray_project_type.getShortRef(),
Scan,
Point
public void makeBgDistribGraph()
throws java.lang.Exception
java.lang.Exception
public java.lang.String getGroupe(java.lang.String oligo_id,
java.lang.String name,
double b,
double logFC)
public java.util.Hashtable getHashCourbes()
throws java.lang.Exception
java.lang.Exception
public void proceedCalcul(java.lang.String type)
throws java.lang.Exception
type - Type of calcul to be performed.
java.lang.ExceptionMicroarraypublic double getPearson(java.util.Hashtable hashPoints)
public void loadHashColor()
public void saveHashColor(int user_id)
public void createGEOMatrix(java.util.Vector vectorMicroarray)
vectorMicroarray - Vector of Microarray Object for creating GEO matrix submission file, .tar.gz format
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||