diff --git a/conekt/models/expression/profiles.py b/conekt/models/expression/profiles.py index 271c6ee..40a306c 100644 --- a/conekt/models/expression/profiles.py +++ b/conekt/models/expression/profiles.py @@ -175,7 +175,10 @@ def get_heatmap(species_id, probes, zlog=True, raw=False): if row_max != 0 and not raw: values[o] = values[o]/row_max - output.append({"name": name, "values": values, "sequence_id": profile.sequence_id}) + output.append({"name": name, + "values": values, + "sequence_id": profile.sequence_id, + "shortest_alias":profile.sequence.shortest_alias}) return {'order': order, 'heatmap_data': output} diff --git a/conekt/templates/expression_heatmap.html b/conekt/templates/expression_heatmap.html index 0ac671c..219d81d 100644 --- a/conekt/templates/expression_heatmap.html +++ b/conekt/templates/expression_heatmap.html @@ -77,7 +77,7 @@