use of org.baderlab.csplugins.enrichmentmap.task.postanalysis.CreateDiseaseSignatureTaskFactory in project EnrichmentMapApp by BaderLab.
the class PostAnalysisPanelMediator method addGeneSets.
private void addGeneSets(CyNetworkView netView, PostAnalysisParameters params) {
CreateDiseaseSignatureTaskFactory taskFactory = signatureTaskFactoryFactory.create(netView, params);
TaskIterator tasks = taskFactory.createTaskIterator();
String errors = taskFactory.getErrors();
if (errors.isEmpty()) {
taskManager.execute(tasks, new DialogObserver());
} else {
JOptionPane.showMessageDialog(swingApplication.getJFrame(), errors, "Invalid Input", JOptionPane.WARNING_MESSAGE);
}
}
Aggregations