Closed ghost closed 7 years ago
One method would be to use the structural similarity index
more information here: https://en.wikipedia.org/wiki/Structural_similarity
Here's a better solution: 1) The heat map is a good method for visualizing the response of a worm to a given stimulus. 2) In that sense, it might be a much better idea to use dynamic time warping on random subsets of the sequences. 3) If the average within-group distance between sequences is small for either/both of the sequences, show the heatmap for that response. 4) If the average within-group distance between sequences is small for both sequences, and the average between-group response for that sequence is important then look for the principal differences.
http://mathoverflow.net/questions/25037/a-metric-for-comparing-two-heatmaps