Class ExpressionExperimentDataFetchController
java.lang.Object
ubic.gemma.web.controller.expression.experiment.ExpressionExperimentDataFetchController
For the download of data files from the browser. We can send the 'raw' data for any one quantitation type, with gene
annotations, OR the 'filtered masked' matrix for the expression experiment.
- Author:
- pavlidis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
downloadFile
(String filename, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Regular spring MVC request to fetch a file that already has been generated.void
downloadMetaFile
(Long eeId, Integer typeId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) getCoExpressionDataFile
(Long eeId) AJAX Method - kicks off a job to start generating (if need be) the text based tab delimited co-expression data fileAJAX Method - kicks off a job to start generating (if need be) the text based tab delimited experiment design data filegetDiffExpressionDataFile
(Long analysisId) AJAX Method - kicks off a job to start generating (if need be) the text based tab delimited differential expression data fileMetaFile[]
getMetadataFiles
(Long eeId) Scans the metadata directory for any files associated with the given experiment.
-
Constructor Details
-
ExpressionExperimentDataFetchController
public ExpressionExperimentDataFetchController()
-
-
Method Details
-
downloadFile
@RequestMapping(value="/getData.html", method={GET,HEAD}) public void downloadFile(@RequestParam("file") String filename, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException Regular spring MVC request to fetch a file that already has been generated. It is assumed that the file is in the DATA_DIR.- Throws:
IOException
-
downloadMetaFile
@RequestMapping(value="/getMetaData.html", method={GET,HEAD}) public void downloadMetaFile(@RequestParam("eeId") Long eeId, @RequestParam("typeId") Integer typeId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException - Throws:
IOException
-
getMetadataFiles
Scans the metadata directory for any files associated with the given experiment.- Parameters:
eeId
- the id of the experiment to scan for the metadata for.- Returns:
- an array of files available in the metadata directory for the given experiment.
- Throws:
IOException
-
getCoExpressionDataFile
AJAX Method - kicks off a job to start generating (if need be) the text based tab delimited co-expression data file -
getDataFile
AJAX Method - kicks off a job to start generating (if need be) the text based tab delimited experiment design data file -
getDiffExpressionDataFile
AJAX Method - kicks off a job to start generating (if need be) the text based tab delimited differential expression data file
-