Summary
Anatomical connectivity can constrain both a neural circuit’s function and its underlying computation. This principle has been demonstrated for many small, defined neural circuits. For example, connectome reconstructions have informed models for direction selectivity in the vertebrate retina1,2 as well as the Drosophila visual system3. In these cases, the circuit in question is relatively compact, well-defined, and has known functions. However, how the connectome constrains global properties of large-scale networks, across multiple brain regions or the entire brain, is incompletely understood. As the availability of partial or complete connectomes expands to more systems and species4–8 it becomes critical to understand how this detailed anatomical information can inform our understanding of large scale circuit function9,10. Here, we use data from the Drosophila connectome4 in conjunction with whole-brain in vivo imaging11 to relate structural and functional connectivity in the central brain. We find a strong relationship between resting state functional correlations and direct region-to-region structural connectivity. We find that the relationship between structure and function varies across the brain, with some regions showing a tight correspondence between structural and functional connectivity while others, including the mushroom body, are more strongly dependent on indirect connections. Throughout this work we observe features of structural and functional networks in Drosophila that are strikingly similar to those seen in mammalian cortex, including in the human brain. Given the vast anatomical and functional differences between Drosophila and mammalian nervous systems, these observations suggest general principles that govern brain structure, function and the relationship between the two.
Keywords: Connectome, Drosophila, Structural Connectivity, Functional Connectivity
eTOC blurb
Turner et al. use the central brain connectome of the fruit fly Drosophila to show how structural connectivity between brain regions can predict functional correlations measured using in vivo brain imaging. The authors show that brain networks in Drosophila share topological features with mammalian cortical networks.
Results
To study global properties of brain networks, we focused on connectivity among regions (“mesoscale connectivity”), a scale at which we could both reliably register neural activity signals across individuals and make comparisons to network organization in other systems. To characterize mesoscale connectivity, we established methods for comparing structural and functional connectivity in a common anatomical space. We used data from the Drosophila “hemibrain” connectome4. This dataset contains most of the right half of the central brain of a single fly, and includes ~25,000 traced cells and ~10 million presynaptic active zones. This connectome has been reconstructed with high accuracy, with over 90% of presynaptic sites (T-Bars) assigned to traced neurons (for details of the hemibrain and its reconstruction, see4). We note that the structural connectivity data in this connectome does not contain information about neuromodulators, the sign of each synapse or electrical synapses. This connectome also does not include information about many of the connections from the left half of the brain. To measure mesoscale functional connectivity, we used pan-neuronal, in vivo calcium imaging of the central brain11 in the absence of explicit sensory stimuli. Each brain (n=20) comprised ~500,000 voxels, and was imaged at an isotropic resolution of 3 μm. These voxels were then assigned to anatomical regions based on a template brain atlas. From these measurements, we computed characteristic correlations among brain regions that we refer to as the resting state functional connectivity. Finally, we compared both structural and functional datasets by registering both into a common anatomical space12,13. We included the central brain regions with at least half of their volume included in the hemibrain. In total, this analysis includes 37 brain regions that follow the naming convention outlined in12.
Characterizing structural connectivity
The mesoscale connectivity network is defined by the connection strength between every pair of regions. To measure region-to-region connectivity, we transformed an anatomical brain atlas12,14 and synapse locations in the hemibrain to a common brain space13,15 (See Figure S1 and STAR methods). We used two primary metrics of connection strength (Figure 1A,B). First, the cell count connectivity from region A to region B was defined as the total number of neurons with at least one input (post-) synapse in region A and at least one output (pre-) synapse in region B. Second, the T-Bar connectivity was defined as the total number of presynaptic T-Bars in region B that belong to a neuron with at least one input in region A.
Figure 1: Characterizing mesoscale connectivity using the hemibrain connectome.
(A) Top: Portion of the central brain included in the hemibrain connectome used for this analysis, with highlighted example regions. Shown in red is an example of a neuron which projects from the antennal lobe (AL) to the lateral horn (LH) (B) Schematic showing how inter-region connectivity is quantified. For example, the connection from region A to region B has 2 cells and 3 T-Bars. (C) For an example region (the right antennal lobe - AL(R)) the number of outgoing connections to all regions included in this analysis, ordered from highest to lowest connection strength. Top: inter-region connectivity based on cell count, bottom: inter-region connectivity based on presynaptic T-Bars. Data are in blue, dashed line and shaded region indicate the mean±2σ of a log-normal distribution with mean and standard deviation measured from the data. (D) Inter-region connectivity strength follows a log-normal distribution. Top: Outgoing cell count connectivity from each region was z-scored within a region and combined to produce a distribution of connection strengths across all regions (solid blue line). Dashed black line shows, for reference, a log-normal distribution with mean and standard deviation matched to the data. Bottom: same as top, but using T-Bar count as the connectivity metric. (E) Top: Q-Q plot to compare the distribution of observed cell count connectivity (horizontal axis) to a best-fitting log-normal distribution (vertical axis). Bottom: same as top, but using T-Bar count as the connectivity metric.
The outgoing connectivity distributions, for each metric, are shown for an example region - the right antennal lobe (AL(R), Figure 1C). The outgoing connectivity strengths span several orders of magnitude for both the cell count and T-Bar metrics. For this example source region, the strongest downstream partners receive several thousand cell connections, while the weakest are connected by only a few cells. Interestingly, the outgoing connections closely follow a log-normal distribution of connectivity strengths. A similar pattern was observed for every brain region for both the cell count and T-Bar connectivity metrics (p>0.05, KS test against a log-normal distribution for each region in the atlas, see Figure 1D,E). A similar log-normal distribution of connectivity strengths has been shown for inter-region connectivity in mammalian cortex, including in mouse16,17 and monkey18.
The connectome predicts resting state functional connectivity
We used whole brain functional imaging data to measure resting state correlations among brain regions. We registered our brain volumes to a common anatomical atlas and extracted the average fluorescence signal for each brain region over a period of approximately 25 minutes (Figure 2B). We then computed the correlation between these signals for each pair of regions (Figure 2C), a measure of their functional connectivity, and averaged these correlations across animals (Figure 2D). Note that the functional correlation values here have been Fisher z-transformed to facilitate estimating statistics across animals. The structural connectivity matrix is shown in Figure 2E, using the cell count connectivity metric (the T-Bar connectivity matrix is very similar, r=0.86).
Figure 2: Structural connectivity revealed by the connectome predicts resting state functional connectivity in the central brain.
(A) Overview of functional imaging acquisition. Top left: the central brain is imaged from the anterior of the fly head. Top right: mean projection showing central brain expressing GCaMP6s. Scale bar is 100 μm. Bottom: single planes through the central brain showing brain regions from an anatomical atlas that has been aligned to in vivo data. (B) Example traces showing GCaMP6s responses of representative brain regions. (C) Table of cross-correlograms for the pairwise combinations of the four highlighted brain regions in (A,B). (D) Average correlation matrix across n=20 flies, each entry in the matrix is the Fisher transformed correlation value for that pair of regions. (E) Heatmap showing cell count connectivity between every pair of regions included in this analysis. For both D & E, regions are ordered according to a matrix seriation algorithm based on the structural matrix (see STAR Methods). (F) The log-transformed cell count connectivity between a pair of brain regions is strongly correlated with the functional correlation between those regions. (G) The cell count connectivity between each pair of regions, normalized by the geometric mean of the region sizes (in voxels), is positively correlated with functional connectivity. (H) For each anatomical connectivity metric, the distribution of structure-function correlation values for individual flies (blue points and violin plot) and the correlation between structure and the across-animal average functional connectivity matrix (black square). See also Figure S2 and Figure S3.
By visual inspection, the functional connectivity in the central brain appears similar to the mesoscale connectivity revealed by the connectome (compare Figure 2D and 2E). To quantify this relationship, we plotted the functional correlation between each pair of regions against their structural connectivity (Figure 2F). This analysis reveals a positive correlation between structural and functional connectivity in the central brain (Pearson r=0.74). Because the sizes of these brain regions vary, and larger brain regions tend to contain more cells than smaller regions, we also normalized the cell count connectivity by the number of voxels in each region. This normalized structural connectivity measure was also able to predict functional connectivity (Figure 2G), although to a lesser degree than the raw cell counts. This difference is likely because the region size alone can be predictive of functional connectivity (see below).
The connectome contains connectivity information that is not captured by the cell count metric. Does including more detailed synaptic connectivity increase the correlation between structural and functional connectivity? To address this, we also examined how other mesoscale connectivity metrics predict functional correlations (Figure 2H). In addition to the “Cell count” and “T-Bar count” connectivity metrics described above, we also examined the “Weighted synapse count” as defined in4 - i.e. the T-Bar count is weighted by the fraction of postsynapses onto each cell that are within the source region. Surprisingly, the metrics that include information about synapse number are no more predictive of functional connectivity than cell count alone (Figure 2H). We note that the across-animal average functional connectivity (black points in Figure 2H) is higher than the average of individual fly correlations because averaging across animals provides a better estimate of the “true” functional connectivity by averaging out noise in single fly measurements.
Other anatomical features, like the sizes of each region and the physical distance between regions, are significantly correlated with functional connectivity, but are less predictive than the connectome-derived metrics (Figure 2H). The correlation between region size or distance and functional connectivity likely reflects the fact that larger regions contain more cells and synapses than smaller regions and that regions that are nearer to one another tend to have stronger anatomical connections (data not shown).
Importantly, we found that the presence of relatively small brain regions did not preclude the accurate estimation of structure-function correlations (Figure S2A). We also found that connectome reconstruction completeness was unrelated to functional connectivity, and that reconstruction incompleteness did not result in lower cell count connectivity metrics (Figure S2B). The results of these analyses suggest that these data contain the requisite accuracy to reliably capture mesoscale structure-function relationships.
The brain region atlas used in Figures 1 & 2 contains 37 brain regions within the hemibrain that collectively vary greatly in size. To test whether structural and functional connectivity correspond at a smaller spatial scale, we also measured mesoscale connectivity using a much finer-grained segmentation of brain regions14. This atlas contains 295 comparably sized segments in the hemibrain, grouped by major brain region. We found a significant correlation between structural and functional connectivity at this finer spatial scale as well (Figure S3). Moreover, the functional connectivity network using this finer-grained segmentation was similar to that observed using the coarse atlas (not shown).
Graph features of structural and functional connectivity networks
To further examine correspondences between the structural and functional networks, we used the connectivity matrices in Figure 2 to construct graph representations of each network. In these graphs, each node corresponds to a brain region, and each edge corresponds to the connection between two regions19. For the structural graph, we symmetrized the connectivity matrix by averaging the outgoing and incoming (i.e. A to B and B to A) connections. Each node of the graph and the top 100 strongest edges of the structural and functional networks are shown in Figure 3A,B. The size of each node corresponds to its degree (defined as the sum of the weights across all incoming and outgoing connections associated with that node). Graph features in the structural and functional networks are highly correlated, including the node degree (Figure 3C, Pearson r=0.75) and the node clustering coefficient, which measures how connected a node’s neighbors are (Figure 3D, Pearson r=0.76). However, there are discrepancies between these two graphs, for example, the AVLP(R) has a relatively low degree and clustering coefficient in the functional graph compared to its structural graph. Conversely, regions like the MBML(R) and LH(R) have relatively high degrees and clustering coefficients compared to their respective structural graphs. These results suggest that the ability to predict features of functional networks from direct anatomical connections is limited, and raises the possibility that indirect connections may also play an important role (see Figure 4).
Figure 3: Graph features are shared between structural and functional connectivity networks.
(A) graph representation of the connectome-derived structural network. Each node corresponds to a brain region, and the size of each node represents the degree of that node. The top 100 strongest edges are shown as lines connecting nodes. (B) graph representation of the functional network. (C) Top: schematic illustrating the degree of a node. In each graph example, the degree of the red node is represented by the bold number to its right. A high degree indicates a node with many strong connections (both incoming and outgoing). Bottom: The node degree for the structural graph is correlated to the node degree of the functional graph (Pearson r=0.75). (D) Top: schematic illustrating the clustering coefficient of a node. A high clustering coefficient indicates a node whose neighbors are highly connected. Bottom: The clustering coefficients in the structural network are correlated to those of the functional network (Pearson r=0.76). (E) Thresholded structural connectivity matrix and random connectivity matrix with a matched connection probability (F) Top: Distribution of average path lengths across 1000 random graphs (black distribution) and average path length for the measured structural graph (red line). Bottom: same as top but for the average graph clustering coefficient. (G) The distribution of edge weights in the cell-count connectivity network follows a power law distribution for intermediate-strength edge weights only. Black line shows power law scaling, p ~ w−1, blue points are edge weights from the measured structural connectivity.
Figure 4: Structure-function relationships in the central brain vary by major brain regions because of indirect connections.
(A) Top: We z-scored both structural connectivity (SC) and functional connectivity (FC). Bottom: Difference matrix, showing, for each pair of regions, the difference between FC and SC. Positive (red) values correspond to region pairs that have relatively high FC given their SC, and negative (blue) values correspond to region pairs that have relatively low FC. Regions have been sorted by the region-average difference in descending order. (B) FC-SC differences vary across brain super-regions, with the highest differences clustered in the AL/LH and Mushroom Body regions. Each point corresponds to the mean±s.e.m., for that region, across n=20 flies. Points are sorted in descending order of FC-SC difference, and colored according to their membership in super-regions, which are illustrated above. (C) Illustration of direct vs. indirect anatomical pathways that could influence functional connectivity. We define the distance between two nodes as the inverse of that edge’s weight. To quantify the relative strength of indirect pathways, we define an indirect path factor as the ratio of the direct path distance to the shortest path distance. (D) For each pair of regions, the shortest path distance is less than or equal to the direct path distance. Points are color-coded by the FC-SC difference, as in (A). Note that points further from the line of unity tend to have positive FC-SC differences. (E) The strength of indirect pathways in the brain accounts for some of the discrepancy between direct pathway structural connectivity and measured functional connectivity. ρ is the Spearman rank order correlation coefficient. See also Figure S4.
We also investigated whether the structural network shares topological features observed in large scale networks in the human brain. In particular we asked whether the mesoscale network shows properties characteristic of (1) a small-world network and (2) a scale-free network. A small-world network is characterized by strong clustering of nodes and relatively short path lengths through the network, even in the absence of dense connections20–22. To determine whether the mesoscale network shows these features, we thresholded the structural connectivity matrix to produce a binary adjacency matrix (Figure 3E, top). We then generated 1000 random graphs with a connection probability matched to that of the measured adjacency matrix (Figure 3E, bottom). For both the measured graph and the random graphs, we measured the average path length (Figure 3F, top) and clustering coefficient (Figure 3F, bottom). The red vertical line indicates the measured adjacency matrix, while the black distribution shows the computed values for random graphs. As is typical of small-world networks, including connectivity networks in human cortex21, the Drosophila structural network has a higher clustering coefficient than equivalent random graphs (23% higher on average), but a similar path length (3% longer on average, see also23). A scale-free network is one in which the distribution of node degree or connection weights follows a power law distribution. This structure has been observed in brain networks, including human functional networks24,25, but see23,26. The edge weight distribution of the structural network follows a power law decay for intermediate-strength connections, but falls off for both very weak edges and for very strong edges (Figure 3G). (see23 for a similar analysis on cell-to-cell connectivity). This is consistent with the earlier observation that outgoing connection strengths tend to follow a lognormal distribution (Figure 1), in which the edge weight density falls off steeply at either end of the distribution.
Indirect pathways differentially shape structure-function relationships across the brain
Thus far, we have shown that there is a broad correspondence between structural connectivity and functional correlations. However, there are also discrepancies between functional correlations and what would be predicted based on direct structural connectivity alone (Figure 3). Are these differences between structural and functional connectivity uniformly distributed throughout the brain, or are they concentrated in certain regions? To answer this question, we z-scored both the structural and functional connectivity and computed the difference (Figure 4A).
When we averaged the function-structure difference for each region, we found that some brain regions tend to have relatively high functional compared to structural connectivity (Figure 4B). We color-coded brain regions by the super-region classification scheme in12, where a super-region typically contains regions that are nearby to one another and grouped by anatomical boundaries. This analysis revealed heterogeneity in the function-structure difference across brain regions that in some cases corresponded to membership in a super-region. For example, brain regions belonging to the mushroom body and the lateral horn & antennal lobe have a higher average difference than the rest of the regions in the brain (α<0.01, Bonferroni-corrected p<0.00125). The antennal lobe & lateral horn are in distinct super-regions but part of a common circuit27–29. On the other hand, regions belonging to the superior neuropils (SNP), ventromedial neuropils (VMNP), and the ventrolateral neuropils (VLNP) had relatively low functional connectivity to other regions given their structural connectivity (α<0.01, Bonferroni-corrected p<0.00125). We also examined structure-function correlation within brain regions using the fine-grained brain segmentation and observed a range of intra-region correlations (Figure S3D). Within a region, correlations were typically higher for segments closer together in space.
What might account for the relatively poor prediction of functional connectivity from structural connectivity in these regions? The analysis above uses direct anatomical connections between two regions to define their structural connectivity. But many brain networks include strong indirect pathways between regions30. Indeed, this can be a characteristic feature of small-world networks21,22 (Figure 3). One important consequence of the impact of indirect pathways is that two brain regions may be functionally correlated despite having a weak (or nonexistent) direct connection between them, as multi-synaptic connections could produce correlated neural activity.
To measure the presence of indirect pathways in the inter-region structural network, we first defined the distance between two regions as the inverse of the connectivity weight between them (Figure 4C). Therefore a pair of regions with a strong connection between them will be separated by a short distance. For each pair of brain regions, A and B, we computed the direct distance, Ddirect(A,B), which is the distance of the direct pathway between regions A and B. We also computed the shortest path distance, Dshortest(A,B), between regions A and B using Dijkstra’s algorithm31. This commonly-used algorithm finds the single shortest path between any two nodes in a (connected) graph. Note that the direct and shortest-path distances are not necessarily symmetric (i.e. the distance from A to B can be different than the distance from B to A). Because of this, we used a directed graph to represent the structural network. This approach can reveal multi-step, indirect connections between a pair of regions that are stronger than the direct connection between them. Thus, for every pair of regions, the shortest path distance is always less than or equal to the direct distance (Figure 4D). This analysis shows that connections with higher-than-expected functional connectivity tend to have much longer direct path distances compared to their shortest paths. To quantify this, we defined an indirect path factor, which is the ratio of the direct path distance to the shortest path distance. An indirect path factor of 1.0 indicates a connection where the shortest path is equal in distance to the direct path, and values greater than 1.0 indicate a shortest path which is shorter than the direct path. In this way, the indirect path factor quantifies the relative strength of the primary indirect pathway between a pair of regions. We found that the strength of indirect pathways was positively correlated with the function-structure difference (Spearman’s rank correlation ρ=0.55). A similar result is seen for the finer-grained brain segmentation (Spearman’s ρ=0.41, data not shown). This means that regions that showed higher functional connectivity than predicted from direct structural connectivity tend to be connected to other regions by strong indirect pathways.
To further test whether indirect pathways contribute to functional connectivity, we fit linear regression models to predict functional connectivity based on different measures of structural connectivity. We found that a model that included both shortest path distance and direct connectivity outperformed a model that included only direct distance (cell count metric: r2=0.60 vs. r2=0.53 for the direct connectivity only model; T-Bars metric: r2=0.59 vs. r2=0.52 for the direct connectivity only model) (Figure S4). Taken together, these results suggest that indirect anatomical pathways in the brain exert an important influence on functional connectivity, especially for regions like the mushroom body, antennal lobe, and lateral horn.
Discussion
Previous work looking at specific circuits, for example in the mushroom body32,33 and central complex34, described relationships between connectome structure and circuit function. The release of a nearly-complete central brain connectome, combined with the ability to measure whole-brain functional activity in defined brain regions has allowed us to, for the first time, relate synapse-level structural connectivity to mesoscale functional connectivity both within and across brain regions4,11. We found that cell-level anatomical connectivity provides a strong constraint on resting state functional connectivity (Figure 2), with over half of the variance in functional correlations being accounted for by the variance in the number of cells that connect two regions (Figure S4).
While the direct, inter-region structural connectivity was broadly predictive of functional correlations, we found that indirect pathways could also contribute significantly to functional connectivity (Figure 4). Indirect pathways are thought to be important in many circuits9,35, including in human cortex36. Indirect connections are especially important for some brain regions in particular, including the mushroom body, which is associated with multisensory integration and learning37, suggesting that dense indirect connectedness might be important for these computations. Conversely, brain regions in the SNP, VMNP and VLNP showed strong structural connectedness to other regions compared to their functional connectivity (Figure 4). The structural connectivity among these regions may support activity patterns not explored in the fly’s resting state, and other behavioral states or stimulation conditions may reveal different functional connectivity for regions like these.
We used one metric of indirect connections between two regions, namely the shortest path distance, but one could imagine other indirect paths also contributing to functional connectivity in a meaningful way. Indeed, recent work developed a graph embedding procedure to predict functional connectivity from structural connectivity in the human brain36,38, which allows for the influence of higher order interactions in general. We suspect that, rather than the specific shortest path being of particular importance in shaping functional connectivity between a pair of regions, the shortest path distance is a proxy for more general indirect path connectedness. Disentangling which higher order interactions most strongly shape functional connectivity will be an important task in future work.
An illuminating approach to understanding large-scale structure-function relationships in the brain has emerged in human neuroscience, where macro-scale structural connectivity patterns can be related to functional connectivity using noninvasive imaging or electrical recording techniques (for reviews, see39,40). Several of these studies have shown that functional connectivity can be predicted by structural connectivity to some degree40–43. The structure-function correlation we found in the Drosophila central brain is higher than typically reported in macro-scale networks in the human brain, where MRI-based structural and functional connectivity is similarly positively correlated, but generally with lower correlation coefficients42 (for review, see40). There are many factors that could contribute to this difference, including different levels of temporal and spatial precision in the functional measurements, vastly different amounts of biological detail in the structural connectivity measurements, and/or genuine biological differences between the two systems. Interestingly, the inclusion of detailed synaptic information (i.e. the number of synapses associated with a given inter-region connection) did not increase the correlation between structural and functional connectivity (Figure 2). This suggests that synapse-level connectivity does not much constrain functional connectivity at the mesoscale level, despite synapse count being very important for smaller, functionally defined circuits3,44. Mesoscale functional correlations reflect the influence of many neurons that individually belong to different functional circuits. While these individual neurons can vary substantially in their synapse number, when averaging over large brain regions, the overall synapse count connectivity is highly correlated with the cell count connectivity (r=0.86, data not shown).
In addition to the general correspondence between structural and functional connectivity, we found a number of other intriguing similarities between Drosophila central brain networks and networks in mammalian cerebral cortex. For example, we found that the structural network in the Drosophila central brain showed signs characteristic of a small-world network (Figure 3), which has been shown before in human structural and functional networks21,22. We also found that inter-region connectivity strengths are log-normally distributed (Figure 1), which is also the case in mouse16,17 and monkey18 cortex. The observation that brain networks with such different biological and anatomical features share a key network topology suggests a deep correspondence in either developmental rules and/or functional constraints. It is not unusual for biological variables to be log-normally distributed. Indeed, multiplicative interactions among many variables will tend to produce log-normally distributed variables45,46. In the context of nervous system development, interactions between pre- and post-synaptic cells that are shaped by cooperative combinations of adhesion and signaling molecules will be multiplicative. We speculate that the shared features between fly and vertebrate brains that can be observed at the mesoscale are the result of these universal phenomena at the microscale.
STAR Methods
Resource Availability
Lead Contact
Requests for resources and information not made available here should be directed to and will be fulfilled by the Lead Contact, Max Turner (mhturner@stanford.edu).
Materials Availability
This study did not generate new unique reagents.
Data and Code Availability
All analysis code can be accessed at https://github.com/mhturner/SC-FC. Data from the hemibrain connectome (v1.2)4 was accessed using the Python neuPrint bindings as well as the R natverse package neuprintr (see key resources table). Functional data and derived structural connectivity measures can be accessed via figshare (https://doi.org/10.6084/m9.figshare.13349282).
KEY RESOURCES TABLE
REAGENT or RESOURCE | SOURCE | IDENTIFIER |
---|---|---|
Deposited Data | ||
Functional data and derived structural connectivity | This paper | https://doi.org/10.6084/m9.figshare.13349282 |
Transformation from JFRC2 -> JRC2018F template brain space | This paper | https://doi.org/10.6084/m9.figshare.13349282 |
Janelia Hemibrain Connectome | 4 | https://www.janelia.org/project-team/flyem/hemibrain |
Experimental Models: Organisms/Strains | ||
w[1118]; P{y[+t7.7] w[+mC]=GMR57C10-GAL4}attP2 | https://bdsc.indiana.edu | RRID:BDSC_39171 |
w[1118]; P{y[+t7.7] w[+mC]=20XUAS-IVS-GCaMP6s}attP40 | https://bdsc.indiana.edu | RRID:BDSC_42746 |
w[*]; P{y[+t7.7] w[+mC]=10XUAS-IVS-myr::tdTomato}attP40 | https://bdsc.indiana.edu | RRID:BDSC_32222 |
Software and Algorithms | ||
Custom analysis code | This paper | https://github.com/mhturner/SC-FC |
NetworkX | 48 | https://networkx.org/ |
Blender | Blender Foundation | https://www.blender.org/ |
Python3.6 | Python Software Foundation | https://www.python.org/ |
Seriate v1.1.2 | https://pypi.org/user/srcd/ | https://pypi.org/project/seriate/ |
Natverse | 15 | http://natverse.org/ |
Computational Morphometry Toolkit (CMTK) | NITRC | https://www.nitrc.org/projects/cmtk/ |
Experimental Model And Subject Details
Imaging flies expressed GCaMP6s and myr::tdTomato pan-neuronally, and were of the following genotype:
Flies were raised on molasses medium at 25°C with a 12/12 hr light/dark cycle. Flies were housed in mixed male/female vials and 5-day old females were selected for imaging.
Method Details
Whole brain imaging to measure functional connectivity in the central brain
Details of whole brain imaging can be seen in11. For imaging, flies were immobilized and their central brain exposed from the anterior of the head. Imaging experiments were performed on a resonant scanning two photon microscope (Bruker) equipped with a piezo Z drive which allows for fast volumetric acquisition. High resolution anatomical scans are taken at a resolution of 0.6 × 0.6 × 1 μm, as well as high speed functional scans at 3 μm isotropic spatial resolution and a temporal sampling frequency of 1.2 Hz. Anatomical scans are used to register to a common brain atlas, which is then used to extract time series data from each brain region.
Quantification and Statistical Analysis
Analysis of connectome data to characterize inter-region structural connectivity
All data and statistical analyses, modeling, and plot generation was performed using custom-written Python and R code (see Data and Code Availability above). In order to compare structural and functional connectivity, we registered each to the JRC2018F template brain space13. We used CMTK to transform the two brain segmentations used here (the coarse “Ito Atlas”12, and finer “Branson Atlas”14) from their native JFRC2 template brain space into JRC2018F template brain space47. The transformation from JFRC2 to JRC2018F space is included in the accompanying data. We then used the natverse & neuprintR to transform synapse locations in the hemibrain to JRC2018F template space and compute which brain region each synapse belongs to. We tested alignment between hemibrain coordinates and the Ito brain atlas by (1) visual inspection and (2) by selecting some neuron types with known, restricted synapse locations and examining the correspondence to synapse densities in the hemibrain database (Figure S1).
To measure structural connectivity from a source region, A to a target region, B, we used one of several connectivity metrics. (1) The primary metric used in the main text is the cell count connectivity metric. In this case, the connectivity weight from region A to B is defined as the total number of neurons that have at least one input synapse in region A and at least one output synapse (i.e. a presynaptic T-Bar) in region B. (2) A secondary metric we used was the T-Bar connectivity metric. In this case, we summed the number of T-Bars in region B that are associated with connecting cells from A (as defined in the cell count metric above). (3) The weighted synapse count is a metric defined in4. This metric weights each connecting cell’s T-Bar count in region B by the fraction of total input synapses to that cell that are in region A.
To compare each region’s outgoing connectivity distribution to a log-normal distribution, we constructed a log-normal distribution for each region, based on that region’s mean and standard deviation connection weight. We then drew 1000 randomly-generated distributions (each with n=37, as in the data) from this fit model and compared this population of random distributions to the data using a Kolmogorov-Smirnov (KS) test. To combine distributions across regions, we first z-scored the log-transformed distribution for each region. This allows for different regions to have different means and standard deviations, but tests that they each follow their own log-normal distribution.
Statistical analyses and graph methods
We high-pass filtered each region-average fluorescence signal using a Butterworth filter with a cutoff frequency of 0.01 Hz to remove very slow drift in the fluorescence intensity. For display (Figure 2) we converted each region response to a dF/F measurement relative to a baseline fluorescence defined as the mean fluorescence over the entire imaging session. To compute functional connectivity between a pair of regions, we used the Pearson linear correlation coefficient, r, between their two response traces. This is equivalent to the δt=0 amplitude in the cross-correlograms shown in Figure 2. To facilitate comparison across animals as well as to the structural connectivity, we Fisher Z-transformed each inter-region correlation coefficient (see equation 1).
(1) |
The functional connectivity matrix shown in Figure 2 represents the average z-transformed correlation matrix across n=20 animals, but a connectivity matrix from an individual animal is also robustly correlated to the structural connectivity in the connectome (Figure 2H). We ordered both the structural and functional connectivity matrices according to a traveling salesperson seriation algorithm (see key resources table).
To compare structural and functional connectivity (Figure 2F), we first symmetrized the structural connectivity matrix by adding its own transpose to itself and dividing by 2. The functional connectivity matrix, by definition, is already symmetric. We then compared the upper triangle of the functional connectivity matrix to the upper triangle of the symmetrized structural connectivity matrix.
To compare graph features between the structural and functional networks, we used NetworkX48 to create a graph for each network using its associated connectivity matrix. For the graph displays and analysis in Figure 3, we first normalized each connectivity matrix by the maximum edge weight in the matrix. To compare the structural network to a matched random graph, we generated a binary adjacency matrix by applying a threshold to the structural connectivity matrix. We chose a threshold value of 35% of the maximum edge weight. For low threshold values, nearly every possible edge is realized and consequently little small world structure is observed. For higher threshold values, the graph is no longer fully connected.
For the difference analysis in Figure 4, we z-scored both the functional connectivity values as well as the (log-transformed) structural, cell-count connectivity values. This approach allowed us to better compare the structural and functional connectivity strength for a given connection, at least in relation to their respective connectivity distributions. We grouped brain regions by the Drosophila central brain super-region definitions in12.
To perform the shortest path analysis in Figure 4, we first defined the distance (D) for each connection as the inverse of that connection’s weight (W, see equation 2).
(2) |
Using this distance definition, we used the Dijkstra’s Shortest Path First algorithm31 in NetworkX to compute the shortest path between each pair of brain regions.
Supplementary Material
Highlights.
Functional correlations are predicted by structural connectivity in the connectome.
Correlations are well captured by the number of cells connecting two regions.
Mesoscale networks in the Drosophila brain share topological features with cortex.
Indirect pathways differentially shape functional correlations across the brain.
Acknowledgments
We thank Estela Stephenson for technical support and members of the Clandinin lab for feedback on the work and on this manuscript. This work was supported by NIH grants F32-MH118707 (M.H.T.), RO1EY022638 (T.R.C.), and a grant from the Simons Foundation (T.R.C.).
Footnotes
Publisher's Disclaimer: This is a PDF file of an unedited manuscript that has been accepted for publication. As a service to our customers we are providing this early version of the manuscript. The manuscript will undergo copyediting, typesetting, and review of the resulting proof before it is published in its final form. Please note that during the production process errors may be discovered which could affect the content, and all legal disclaimers that apply to the journal pertain.
Declaration of Interests
The authors declare no competing interests.
References
- 1.Helmstaedter M, Briggman KL, Turaga SC, Jain V, Seung HS, and Denk W (2013). Connectomic reconstruction of the inner plexiform layer in the mouse retina. Nature 500, 168–174. [DOI] [PubMed] [Google Scholar]
- 2.Kim JS, Greene MJ, Zlateski A, Lee K, Richardson M, the EyeWirers, Turaga SC, Purcaro M, Balkam M, Robinson A, et al. (2014). Space–time wiring specificity supports direction selectivity in the retina. Nature 509, 331–336. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Takemura S, Nern A, Chklovskii DB, Scheffer LK, Rubin GM, and Meinertzhagen IA (2017). The comprehensive connectome of a neural substrate for ‘ON’ motion detection in Drosophila. eLife 6, e24394. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Scheffer LK, Xu CS, Januszewski M, Lu Z, Takemura S, Hayworth KJ, Huang GB, Shinomiya K, Maitlin-Shepard J, Berg S, et al. (2020). A connectome and analysis of the adult Drosophila central brain. eLife 9, e57443. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Cook SJ, Jarrell TA, Brittin CA, Wang Y, Bloniarz AE, Yakovlev MA, Nguyen KCQ, Tang LT-H, Bayer EA, Duerr JS, et al. (2019). Whole-animal connectomes of both Caenorhabditis elegans sexes. Nature 571, 63–71. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Kasthuri N, Hayworth KJ, Berger DR, Schalek RL, Conchello JA, Knowles-Barley S, Lee D, Vázquez-Reina A, Kaynig V, Jones TR, et al. (2015). Saturated Reconstruction of a Volume of Neocortex. Cell 162, 648–661. [DOI] [PubMed] [Google Scholar]
- 7.Markram H, Muller E, Ramaswamy S, Reimann MW, Abdellah M, Sanchez CA, Ailamaki A, Alonso-Nanclares L, Antille N, Arsever S, et al. (2015). Reconstruction and Simulation of Neocortical Microcircuitry. Cell 163, 456–492. [DOI] [PubMed] [Google Scholar]
- 8.Abbott LF, Bock DD, Callaway EM, Denk W, Dulac C, Fairhall AL, Fiete I, Harris KM, Helmstaedter M, Jain V, et al. (2020). The Mind of a Mouse. Cell 182, 1372–1376. [DOI] [PubMed] [Google Scholar]
- 9.Bargmann CI, and Marder E (2013). From the connectome to brain function. Nat Methods 10, 483–490. [DOI] [PubMed] [Google Scholar]
- 10.Meinertzhagen IA (2018). Of what use is connectomics? A personal perspective on the Drosophila connectome. J Exp Biol 221, jeb164954. [DOI] [PubMed] [Google Scholar]
- 11.Mann K, Gallen CL, and Clandinin TR (2017). Whole-Brain Calcium Imaging Reveals an Intrinsic Functional Network in Drosophila. Current Biology 27, 2389–2396.e4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Ito K, Shinomiya K, Ito M, Armstrong JD, Boyan G, Hartenstein V, Harzsch S, Heisenberg M, Homberg U, Jenett A, et al. (2014). A Systematic Nomenclature for the Insect Brain. Neuron 81, 755–765. [DOI] [PubMed] [Google Scholar]
- 13.Bogovic JA, Otsuna H, Heinrich L, Ito M, Jeter J, Meissner G, Nern A, Colonell J, Malkesman O, Ito K, et al. (2020). An unbiased template of the Drosophila brain and ventral nerve cord. PLOS ONE 15, e0236495. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Robie AA, Hirokawa J, Edwards AW, Umayam LA, Lee A, Phillips ML, Card GM, Korff W, Rubin GM, Simpson JH, et al. (2017). Mapping the Neural Substrates of Behavior. Cell 170, 393–406.e28. [DOI] [PubMed] [Google Scholar]
- 15.Bates AS, Manton JD, Jagannathan SR, Costa M, Schlegel P, Rohlfing T, and Jefferis GS (2020). The natverse, a versatile toolbox for combining and analysing neuroanatomical data. eLife 9, e53350. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Oh SW, Harris JA, Ng L, Winslow B, Cain N, Mihalas S, Wang Q, Lau C, Kuan L, Henry AM, et al. (2014). A mesoscale connectome of the mouse brain. Nature 508, 207–214. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Wang Q, Sporns O, and Burkhalter A (2012). Network Analysis of Corticocortical Connections Reveals Ventral and Dorsal Processing Streams in Mouse Visual Cortex. Journal of Neuroscience 32, 4386–4399. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Markov NT, Ercsey-Ravasz MM, Ribeiro Gomes AR, Lamy C, Magrou L, Vezoli J, Misery P, Falchier A, Quilodran R, Gariel MA, et al. (2014). A Weighted and Directed Interareal Connectivity Matrix for Macaque Cerebral Cortex. Cerebral Cortex 24, 17–36. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Bassett DS, Zurn P, and Gold JI (2018). On the nature and use of models in network neuroscience. Nat Rev Neurosci 19, 566–578. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Bassett DS, and Bullmore E (2006). Small-World Brain Networks. Neuroscientist 12, 512–523. [DOI] [PubMed] [Google Scholar]
- 21.Sporns O, and Zwi JD (2004). The Small World of the Cerebral Cortex. NI 2, 145–162. [DOI] [PubMed] [Google Scholar]
- 22.Sporns O, Chialvo DR, Kaiser M, and Hilgetag CC (2004). Organization, development and function of complex brain networks. Trends in Cognitive Sciences 8, 418–425. [DOI] [PubMed] [Google Scholar]
- 23.Scheffer LK (2020). Graph Properties of the Adult Drosophila Central Brain (Neuroscience). [Google Scholar]
- 24.Eguíluz VM, Chialvo DR, Cecchi GA, Baliki M, and Apkarian AV (2005). Scale-Free Brain Functional Networks. Phys. Rev. Lett 94, 018102. [DOI] [PubMed] [Google Scholar]
- 25.Bullmore ET, and Bassett DS (2011). Brain Graphs: Graphical Models of the Human Brain Connectome. Annu. Rev. Clin. Psychol 7, 113–140. [DOI] [PubMed] [Google Scholar]
- 26.Perin R, Berger TK, and Markram H (2011). A synaptic organizing principle for cortical neuronal groups. Proceedings of the National Academy of Sciences 108, 5419–5424. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Masse NY, Turner GC, and Jefferis GSXE (2009). Olfactory Information Processing in Drosophila. Current Biology 19, R700–R713. [DOI] [PubMed] [Google Scholar]
- 28.Schultzhaus JN, Saleem S, Iftikhar H, and Carney GE (2017). The role of the Drosophila lateral horn in olfactory information processing and behavioral response. Journal of Insect Physiology 98, 29–37. [DOI] [PubMed] [Google Scholar]
- 29.Wilson RI (2013). Early Olfactory Processing in Drosophila : Mechanisms and Principles. Annu. Rev. Neurosci 36, 217–241. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Avena-Koenigsberger A, Misic B, and Sporns O (2018). Communication dynamics in complex brain networks. Nat Rev Neurosci 19, 17–33. [DOI] [PubMed] [Google Scholar]
- 31.Dijkstra, Edsger. W (1959). A note on two problems in connexion with graphs. Numer. Math 1, 269–271. [Google Scholar]
- 32.Eichler K, Li F, Litwin-Kumar A, Park Y, Andrade I, Schneider-Mizell CM, Saumweber T, Huser A, Eschbach C, Gerber B, et al. (2017). The complete connectome of a learning and memory centre in an insect brain. Nature 548, 175–182. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Li F, Lindsey JW, Marin EC, Otto N, Dreher M, Dempsey G, Stark I, Bates AS, Pleijzier MW, Schlegel P, et al. (2020). The connectome of the adult Drosophila mushroom body provides insights into function. eLife 9, e62576. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Hulse BK, Haberkern H, Franconville R, Turner-Evans DB, Takemura S, Wolff T, Noorman M, Dreher M, Dan C, Parekh R, et al. (2020). A connectome of the Drosophila central complex reveals network motifs suitable for flexible navigation and context-dependent action selection (Neuroscience). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Marder E (2015). Understanding Brains: Details, Intuition, and Big Data. PLoS Biol 13, e1002147. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Rosenthal G, Váša F, Griffa A, Hagmann P, Amico E, Goñi J, Avidan G, and Sporns O (2018). Mapping higher-order relations between brain structure and function with embedded vector representations of connectomes. Nat Commun 9, 2178. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Yagi R, Mabuchi Y, Mizunami M, and Tanaka NK (2016). Convergence of multimodal sensory pathways to the mushroom body calyx in Drosophila melanogaster. Scientific Reports 6, 29481. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Grover A, and Leskovec J (2016). node2vec: Scalable Feature Learning for Networks. arXiv:1607.00653 [cs, stat]. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Bullmore E, and Sporns O (2009). Complex brain networks: graph theoretical analysis of structural and functional systems. Nat Rev Neurosci 10, 186–198. [DOI] [PubMed] [Google Scholar]
- 40.Suárez LE, Markello RD, Betzel RF, and Misic B (2020). Linking Structure and Function in Macroscale Brain Networks. Trends in Cognitive Sciences 24, 302–315. [DOI] [PubMed] [Google Scholar]
- 41.Honey CJ, Kotter R, Breakspear M, and Sporns O (2007). Network structure of cerebral cortex shapes functional connectivity on multiple time scales. Proceedings of the National Academy of Sciences 104, 10240–10245. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Honey CJ, Sporns O, Cammoun L, Gigandet X, Thiran JP, Meuli R, and Hagmann P (2009). Predicting human resting-state functional connectivity from structural connectivity. PNAS 106, 2035–2040. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Hermundstad AM, Bassett DS, Brown KS, Aminoff EM, Clewett D, Freeman S, Frithsen A, Johnson A, Tipper CM, Miller MB, et al. (2013). Structural foundations of resting-state and task-based functional connectivity in the human brain. Proceedings of the National Academy of Sciences 110, 6169–6174. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Takemura S, Aso Y, Hige T, Wong A, Lu Z, Xu CS, Rivlin PK, Hess H, Zhao T, Parag T, et al. (2017). A connectome of a learning and memory center in the adult Drosophila brain. eLife 6, e26975. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Limpert E, Stahel WA, and Abbt M (2001). Log-normal Distributions across the Sciences: Keys and Clues. BioScience 51, 341. [Google Scholar]
- 46.Buzsáki G, and Mizuseki K (2014). The log-dynamic brain: how skewed distributions affect network operations. Nat Rev Neurosci 15, 264–278. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Cachero S, Ostrovsky AD, Yu JY, Dickson BJ, and Jefferis GSXE (2010). Sexual Dimorphism in the Fly Brain. Current Biology 20, 1589–1601. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.Hagberg AA, Schult DA, and Swart PJ (2008). Exploring Network Structure, Dynamics, and Function using NetworkX. Proceedings of the 7th Python in Science Conference (SciPy 2008), 5. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
All analysis code can be accessed at https://github.com/mhturner/SC-FC. Data from the hemibrain connectome (v1.2)4 was accessed using the Python neuPrint bindings as well as the R natverse package neuprintr (see key resources table). Functional data and derived structural connectivity measures can be accessed via figshare (https://doi.org/10.6084/m9.figshare.13349282).
KEY RESOURCES TABLE
REAGENT or RESOURCE | SOURCE | IDENTIFIER |
---|---|---|
Deposited Data | ||
Functional data and derived structural connectivity | This paper | https://doi.org/10.6084/m9.figshare.13349282 |
Transformation from JFRC2 -> JRC2018F template brain space | This paper | https://doi.org/10.6084/m9.figshare.13349282 |
Janelia Hemibrain Connectome | 4 | https://www.janelia.org/project-team/flyem/hemibrain |
Experimental Models: Organisms/Strains | ||
w[1118]; P{y[+t7.7] w[+mC]=GMR57C10-GAL4}attP2 | https://bdsc.indiana.edu | RRID:BDSC_39171 |
w[1118]; P{y[+t7.7] w[+mC]=20XUAS-IVS-GCaMP6s}attP40 | https://bdsc.indiana.edu | RRID:BDSC_42746 |
w[*]; P{y[+t7.7] w[+mC]=10XUAS-IVS-myr::tdTomato}attP40 | https://bdsc.indiana.edu | RRID:BDSC_32222 |
Software and Algorithms | ||
Custom analysis code | This paper | https://github.com/mhturner/SC-FC |
NetworkX | 48 | https://networkx.org/ |
Blender | Blender Foundation | https://www.blender.org/ |
Python3.6 | Python Software Foundation | https://www.python.org/ |
Seriate v1.1.2 | https://pypi.org/user/srcd/ | https://pypi.org/project/seriate/ |
Natverse | 15 | http://natverse.org/ |
Computational Morphometry Toolkit (CMTK) | NITRC | https://www.nitrc.org/projects/cmtk/ |