Skip to content

Commit

Permalink
Merge pull request #44 from unipept/feature/clustering-options
Browse files Browse the repository at this point in the history
Add configuration options for clustering, reordering and metric
  • Loading branch information
pverscha authored Mar 9, 2021
2 parents 078ecef + 6eb47b4 commit fe3ff51
Show file tree
Hide file tree
Showing 36 changed files with 5,934 additions and 3,792 deletions.
15 changes: 0 additions & 15 deletions dist/cluster/Cluster.d.ts

This file was deleted.

5 changes: 0 additions & 5 deletions dist/cluster/ClusterElement.d.ts

This file was deleted.

5 changes: 0 additions & 5 deletions dist/cluster/Clusterer.d.ts

This file was deleted.

27 changes: 0 additions & 27 deletions dist/cluster/TreeNode.d.ts

This file was deleted.

20 changes: 0 additions & 20 deletions dist/cluster/UPGMAClusterer.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions dist/color/ColorPalettes.d.ts

This file was deleted.

3 changes: 2 additions & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import DataNode from "./DataNode";
export { DataNode };
import { DataNodeLike } from "./DataNode";
export { DataNode, DataNodeLike };
export * from "./visualizations";
export * from "./transition";
export * from "./color";
Expand Down
5 changes: 0 additions & 5 deletions dist/metric/EuclidianDistanceMetric.d.ts

This file was deleted.

10 changes: 0 additions & 10 deletions dist/metric/Metric.d.ts

This file was deleted.

13 changes: 0 additions & 13 deletions dist/reorder/MoloReorderer.d.ts

This file was deleted.

9 changes: 0 additions & 9 deletions dist/reorder/Reorderer.d.ts

This file was deleted.

4 changes: 2 additions & 2 deletions dist/unipept-visualizations.js

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion dist/visualizations/heatmap/HeatmapSettings.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import Settings from "./../../settings";
import Settings from "./../../Settings";
import HeatmapFeature from "./HeatmapFeature";
import HeatmapValue from "./HeatmapValue";
import Clusterer from "./cluster/Clusterer";
import Reorderer from "./reorder/Reorderer";
export default class HeatmapSettings extends Settings {
/**
* The amount of pixels that can maximally be used for row labels when initially rendering the heatmap.
Expand Down Expand Up @@ -92,6 +94,8 @@ export default class HeatmapSettings extends Settings {
* Color of the lines used to construct a dendrogram (must be a valid HTML color string).
*/
dendrogramColor: string;
clusteringAlgorithm: Clusterer;
reorderer: Reorderer;
/**
* Returns the html to use as tooltip for a cell. Is called with a HeatmapValue that represents the current cell and
* the row and column objects associated with the highlighted cell as parameters. The result of getTooltipTitle is
Expand Down
4 changes: 4 additions & 0 deletions dist/visualizations/heatmap/cluster/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import Clusterer from "./Clusterer";
import UPGMAClusterer from "./UPGMAClusterer";
import TreeNode from "./TreeNode";
export { Clusterer, UPGMAClusterer, TreeNode };
3 changes: 3 additions & 0 deletions dist/visualizations/heatmap/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ import HeatmapValue from "./HeatmapValue";
import HeatmapSettings from "./HeatmapSettings";
import HeatmapFeature from "./HeatmapFeature";
export { Heatmap, HeatmapValue, HeatmapFeature, HeatmapSettings };
export * from "./cluster/index";
export * from "./metric/index";
export * from "./reorder/index";
3 changes: 3 additions & 0 deletions dist/visualizations/heatmap/reorder/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import Reorderer from "./Reorderer";
import MoloReorderer from "./MoloReorderer";
export { Reorderer, MoloReorderer };

This file was deleted.

Loading

0 comments on commit fe3ff51

Please sign in to comment.