Repository for ``Diverse and specialized connectivity facilitates multimodal roles in annotated connectomes'' by Moon, Ripoll-Sanchez, Vertes, Schafer & Ahnert.
- This is the repo accompanying the preprint Moon et al., 2025, containing all scripts needed to generate the results.
- Run
pip install requirements.txtin yourpythonenvironment of choice. - Then run Jupyter notebooks to do analysis and generate figures into the
figuresfolder.
\module\convectCONVECT, a CONnectivity VECTorisation analysis tool for annotated networks.ipynbJupyter notebooks are insrc01_vec_ent_nb.ipynbincludes code for running the connectivity vectorisation, entropy calculations and the specialization-diversity calculations, then plotting distributions. We process these into connectivity vectors and specialization-diversity dataframes which are saved in generateddata/*/processedsubfolders. Creates figure 2 in Moon et al., 2025.- In addition to figures in the publication, we have plotly iframes for reference in
figures/distributions_vis.
- In addition to figures in the publication, we have plotly iframes for reference in
02_null_models_nb.ipynbincludes null models of the specialization-diversity entropic vector euclidean pairwise distances for cell types, serial homologues and left-right pairs. Creates figure 3 in Moon et al., 2025.ZZ_supplementary.ipynbincludes analysis for supplementary figures.
Please download from the Zenodo link above and save into the repository directory.
celegansis a folder for celegans/materials/072022_anatomical_class.csvis metadata from Ripoll-Sanchez et al., Neuron (2023)./original/white_1986_whole.csvis an edge list from nemanode (Witvliet et al., Nature (2021), based on Varshney et al., PLOS Computational Biology (2011) and White et al., Philos Trans R Soc Lond B Biol Sci (1986)).Cell_lists_herm.csv,Cell_lists_sexshared.csv,pharynx_ctypes.csvare neuron classifications from Cook et al., Nature (2019). Thesecsvs are separated out from from thexlsxfileSI 4 Cell lists.xlsx, available from wormwiring.
20241119_dm_datais the Drosophila VNC data pull of the Male Adult Nerve Cord (MANC) connectome and metadata pulled on 19/11/2024, Cheong et al., eLife (2024), available from neuprint.manc_edges_20241119.csvis the edge list.manc_meta_20241119.csvis the metadata.