Search in sources :

Example 1 with ProcessedExpressionDataVectorService

use of ubic.gemma.persistence.service.expression.bioAssayData.ProcessedExpressionDataVectorService in project Gemma by PavlidisLab.

the class OrderVectorsByDesignCli method doWork.

@Override
protected Exception doWork(String[] args) {
    Exception e = super.processCommandLine(args);
    if (e != null)
        return e;
    ProcessedExpressionDataVectorService processedExpressionDataVectorService = this.getBean(ProcessedExpressionDataVectorService.class);
    for (BioAssaySet ee : this.expressionExperiments) {
        if (!(ee instanceof ExpressionExperiment)) {
            continue;
        }
        ee = this.eeService.thawLite((ExpressionExperiment) ee);
        processedExpressionDataVectorService.reorderByDesign(ee.getId());
    }
    return null;
}
Also used : ProcessedExpressionDataVectorService(ubic.gemma.persistence.service.expression.bioAssayData.ProcessedExpressionDataVectorService) BioAssaySet(ubic.gemma.model.expression.experiment.BioAssaySet) ExpressionExperiment(ubic.gemma.model.expression.experiment.ExpressionExperiment)

Aggregations

BioAssaySet (ubic.gemma.model.expression.experiment.BioAssaySet)1 ExpressionExperiment (ubic.gemma.model.expression.experiment.ExpressionExperiment)1 ProcessedExpressionDataVectorService (ubic.gemma.persistence.service.expression.bioAssayData.ProcessedExpressionDataVectorService)1