logArea.append(msg + "\n");
logArea.setCaretPosition(logArea.getText().length());
}
});
RNASeqQCAnalysis rnaSeqQCAnalysis = new RNASeqQCAnalysis(resultManager, computeCountsTask );
if (settingsDlg.outputCounts()) {
String countsPath = settingsDlg.getCountsOutputPath();
rnaSeqQCAnalysis.setCountsFilePath(countsPath);
}
try {
rnaSeqQCAnalysis.run();
} catch (Exception e) {
JOptionPane.showMessageDialog(settingsDlg, "Failed to analyze counts data. " + e.getMessage(),
settingsDlg.getTitle(), JOptionPane.ERROR_MESSAGE);
settingsDlg.setUiEnabled(true);
return;