Class ExpressionExperimentDataFetchController
- java.lang.Object
-
- ubic.gemma.web.controller.expression.experiment.ExpressionExperimentDataFetchController
-
@Controller public class ExpressionExperimentDataFetchController extends Object
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 Constructor Description ExpressionExperimentDataFetchController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
downloadFile(String filename, 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.HttpServletResponse response)
String
getCoExpressionDataFile(Long eeId)
AJAX Method - kicks off a job to start generating (if need be) the text based tab delimited co-expression data fileString
getDataFile(ExpressionExperimentDataFetchCommand command)
AJAX Method - kicks off a job to start generating (if need be) the text based tab delimited experiment design data fileString
getDiffExpressionDataFile(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.File
getOutputFile(String filename)
void
setQuantitationTypeService(QuantitationTypeService quantitationTypeService)
-
-
-
Method Detail
-
downloadFile
@RequestMapping(value="/getData.html", method={GET,HEAD}) public void downloadFile(@RequestParam("file") String filename, 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.HttpServletResponse response) throws IOException
- Throws:
IOException
-
getMetadataFiles
public MetaFile[] getMetadataFiles(Long eeId) throws IOException
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
public String getCoExpressionDataFile(Long eeId)
AJAX Method - kicks off a job to start generating (if need be) the text based tab delimited co-expression data file
-
getDataFile
public String getDataFile(ExpressionExperimentDataFetchCommand command)
AJAX Method - kicks off a job to start generating (if need be) the text based tab delimited experiment design data file
-
getDiffExpressionDataFile
public String getDiffExpressionDataFile(Long analysisId)
AJAX Method - kicks off a job to start generating (if need be) the text based tab delimited differential expression data file
-
setQuantitationTypeService
public void setQuantitationTypeService(QuantitationTypeService quantitationTypeService)
-
-