Code to reproduce the results in the paper "Social structure and individuals' behavior shaped by group composition in long-term tracking of rats"
Trajectory and behavioral metrics data are available through Zenodo at doi.org/10.5281/zenodo.7615468. Note: the results and analysis here only requires import of data for the metrics, networks, and labels which are stored as .csv files: metrics-networks-labels zip file.