use of org.baderlab.csplugins.enrichmentmap.view.heatmap.table.HeatMapTableModel in project EnrichmentMapApp by BaderLab.
the class HeatMapMainPanel method updateSetting_Transform.
private void updateSetting_Transform(Transform transform) {
HeatMapTableModel tableModel = (HeatMapTableModel) table.getModel();
if (tableModel.getTransform().isCompress() != transform.isCompress()) {
HeatMapParams params = this.buildParams();
EnrichmentMap map = tableModel.getEnrichmentMap();
List<RankingOption> rankOptions = parent.getMediator().getDataSetRankOptions(map);
SwingUtilities.invokeLater(() -> reset(map, params, rankOptions, Sets.newHashSet(unionGenes), Sets.newHashSet(interGenes)));
} else {
tableModel.setTransform(transform);
// clear cached data used by the ColorRenderer
updateSetting_ShowValues(isShowValues());
}
settingChanged();
}
use of org.baderlab.csplugins.enrichmentmap.view.heatmap.table.HeatMapTableModel in project EnrichmentMapApp by BaderLab.
the class HeatMapMainPanel method updateSetting_Operator.
private void updateSetting_Operator(Operator oper) {
HeatMapTableModel tableModel = (HeatMapTableModel) table.getModel();
tableModel.setGenes(getGenes(oper));
settingChanged();
}
Aggregations