LernerLab / GuPPy

Guided Photometry Analysis in Python, a free and open-source FP analysis tool.
GNU General Public License v3.0
63 stars 11 forks source link

Non Chronological Sorting of Trials in Heatmap #62

Open rkast1 opened 9 months ago

rkast1 commented 9 months ago

Is there some way to visualize a heatmap with trials sorted based on some behavioral variable I've measured that is neither chronological nor discrete with a small number of categories (which would be easily solvable by generating separate eventTTL files for each of the few categories)? When I try to provide an eventsTTL file that I have presorted, the visualization gui only ends up displaying the trials that maintain their chronological ordering after the sorting. So, I go from having say 60 trials that are sorted by variable x in my eventsttl.csv to having just 5 events in the heatmap, which happen to be those that are in the same chronological order before and after sorting by my variable of interest. Thanks!

venus-sherathiya commented 7 months ago

Sorry for the late response, I was on a vacation. In this issue, I can help you best if we meet on a zoom . Please send me your availability at venus.sherathiya@northwestern.edu.