Search in sources :

Example 1 with LinkAnalysisTaskCommand

use of ubic.gemma.core.tasks.analysis.coexp.LinkAnalysisTaskCommand in project Gemma by PavlidisLab.

the class LinkAnalysisController method run.

public String run(Long id) {
    /* this 'run' method is exported in the spring-beans.xml */
    ExpressionExperiment ee = expressionExperimentService.load(id);
    if (ee == null) {
        throw new IllegalArgumentException("Cannot access experiment with id=" + id);
    }
    experimentReportService.evictFromCache(id);
    LinkAnalysisConfig lac = new LinkAnalysisConfig();
    FilterConfig fc = new FilterConfig();
    LinkAnalysisTaskCommand cmd = new LinkAnalysisTaskCommand(ee, lac, fc);
    return taskRunningService.submitRemoteTask(cmd);
}
Also used : LinkAnalysisTaskCommand(ubic.gemma.core.tasks.analysis.coexp.LinkAnalysisTaskCommand) FilterConfig(ubic.gemma.core.analysis.preprocess.filter.FilterConfig) ExpressionExperiment(ubic.gemma.model.expression.experiment.ExpressionExperiment) LinkAnalysisConfig(ubic.gemma.core.analysis.expression.coexpression.links.LinkAnalysisConfig)

Aggregations

LinkAnalysisConfig (ubic.gemma.core.analysis.expression.coexpression.links.LinkAnalysisConfig)1 FilterConfig (ubic.gemma.core.analysis.preprocess.filter.FilterConfig)1 LinkAnalysisTaskCommand (ubic.gemma.core.tasks.analysis.coexp.LinkAnalysisTaskCommand)1 ExpressionExperiment (ubic.gemma.model.expression.experiment.ExpressionExperiment)1