Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration options for clustering, reordering and metric #44

Merged
merged 3 commits into from
Mar 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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