kymata-atlas / kymata-core

Core Kymata codebase, including statistical analysis and plotting tools
https://kymata.org
MIT License
5 stars 0 forks source link

New expression_scatter_plot() function #252

Open neukym opened 6 months ago

neukym commented 6 months ago

This takes an .nkg file and creates a 'bylayer' scatter plot variant of the expression plots.

image

This functionality already exists in Ollie's branch but the input isn't expression data - this issue aims to port this across to plot.py.

This also needs to happen for the non-layerd version:

image

So perhaps we use two arguments to flip between them: expression_scatter_plot(expression_data, y_axis_format='layer') and expression_scatter_plot(expression_data, y_axis_format='neuron')

young-x-skyee commented 5 months ago

I created a script convert_nkg_to_log.py in my latest working branch. This will create pseudo log files from nkg files and then be plotted with the original script.

neukym commented 5 months ago

This is a good temporary solution 👍