GrotjahnLab / surface_morphometrics

Morphometrics for Membrane Surfaces Segmented from Cryo-ET or other volumetric imaging.
GNU General Public License v3.0
18 stars 9 forks source link

How to visualize the final statistical data? #20

Closed Avaniuniu closed 11 months ago

Avaniuniu commented 11 months ago

Hi ! I am trying to run test data . After I ran the "morphometrics_stats.py", a .pkl file was generated. How should I open and visualize the data?

bbarad commented 11 months ago

As mentioned in the readme, morphometrics_stats.py when run as a command just outputs a pkl file that makes loading large datasets easier. In order to generate statistics, you can use the functions within that script in concert with loading the pkl file (a function to do that is in the script as well!) to generate different quantifications. Ultimately, the quantifications that are useful depend on the scientific question. With that said, if you want the exact quantifications in the paper you can download the full dataset from EMPIAR and then run the script mitochondria_statistics.py.

Here are some things from the readme you can try to get started with stats:

Examples of generating statistics and plots: