Skip to content

Commit

Permalink
Merge pull request #19176 from guerler/heatmap
Browse files Browse the repository at this point in the history
Move heatmap visualization to new script endpoint
  • Loading branch information
itisAliRH authored Nov 25, 2024
2 parents 7a68911 + 77d335e commit de5ee59
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 610 deletions.
3 changes: 1 addition & 2 deletions client/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const STATIC_PLUGIN_BUILD_IDS = [
"fits_graph_viewer",
"fits_image_viewer",
"h5web",
"heatmap/heatmap_default",
"hyphyvision",
"jqplot/jqplot_bar",
"media_player",
Expand All @@ -35,7 +34,7 @@ const STATIC_PLUGIN_BUILD_IDS = [
"tiffviewer",
"ts_visjs",
];
const INSTALL_PLUGIN_BUILD_IDS = ["cytoscape", "ngl", "msa", "openlayers", "phylocanvas", "venn", "vizarr"]; // todo: derive from XML
const INSTALL_PLUGIN_BUILD_IDS = ["cytoscape", "heatmap", "ngl", "msa", "openlayers", "phylocanvas", "venn", "vizarr"]; // todo: derive from XML
const DIST_PLUGIN_BUILD_IDS = ["new_user"];
const PLUGIN_BUILD_IDS = Array.prototype.concat(DIST_PLUGIN_BUILD_IDS, STATIC_PLUGIN_BUILD_IDS);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<macros>
<xml name="shared">
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE visualization SYSTEM "../../visualization.dtd">
<visualization name="Heatmap" embeddable="false">
<description>Renders a heatmap from matrix data provided in 3-column format (x, y, observation).</description>
<requirements>
<requirement type="npm" version="0.0.4" package="@galaxyproject/heatmap"/>
</requirements>
<data_sources>
<data_source>
<model_class>HistoryDatasetAssociation</model_class>
Expand All @@ -11,7 +16,8 @@
<params>
<param type="dataset" var_name_in_template="hda" required="true">dataset_id</param>
</params>
<groups>
<entry_point entry_point_type="script" src="dist/index.js" css="dist/index.css" />
<tracks>
<input>
<label>Provide a label</label>
<name>key</name>
Expand All @@ -23,23 +29,19 @@
<label>Column labels</label>
<name>x</name>
<type>data_column</type>
<is_label>true</is_label>
<is_numeric>true</is_numeric>
</input>
<input>
<label>Row labels</label>
<name>y</name>
<type>data_column</type>
<is_label>true</is_label>
<is_numeric>true</is_numeric>
</input>
<input>
<label>Observation</label>
<name>z</name>
<type>data_column</type>
<is_numeric>true</is_numeric>
<is_number>true</is_number>
</input>
</groups>
</tracks>
<settings>
<input>
<name>color_set</name>
Expand Down Expand Up @@ -480,5 +482,11 @@
<value>true</value>
</input>
</settings>
</xml>
</macros>
<specs>
<exports>
<exports>pdf</exports>
<exports>png</exports>
<exports>svg</exports>
</exports>
</specs>
</visualization>

This file was deleted.

Binary file not shown.

This file was deleted.

24 changes: 0 additions & 24 deletions config/plugins/visualizations/heatmap/heatmap_default/package.json

This file was deleted.

This file was deleted.

Loading

0 comments on commit de5ee59

Please sign in to comment.