Python pipeline for Drosophila melanogaster social network analysis from trajectorial data
The module is being used on data obtained by monitoring Drosophila melanogaster populations and social interaction networks are being created from track data.
Example of video recording:
- Static and snapshot network construction
- Static and dynamic analysis of the networks
- Global measures through time
- Comparison of measures between graphs from the same treatment
- Comparison of several treatments
- Centrality measures distribution
- Functions for loading, validating, and preprocessing data.
- Functions for creating trajectory descriptors and ML features.
- Population analysis, distances and angles between individuals from the trajectory
-
Install needed packages:
virtualenv .venv
pip install -r requirements.txt
-
Add tracking data to
.data/trackings/<treatment name>
-
Check
configs/main.toml
forSTART
,END
,ARENA_DIAMETER
,FPS
. -
Create configuration in
configs/trackings/<treatment_name>.toml
values forangle
,degree
andtime
which are the criteria for determining edges in networks. -
Run
__main__.py
from./src
, all results will be saved to./data/results
The project is open-source and aims to create research tools. If you are interested in development, feel free to contact us or just fork the repo.
How dataframe should look like?