subcortex-visualization 1.1.0__tar.gz → 1.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {subcortex_visualization-1.1.0/subcortex_visualization.egg-info → subcortex_visualization-1.2.1}/PKG-INFO +69 -30
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/README.md +68 -29
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/pyproject.toml +1 -1
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/setup.py +2 -2
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/AICHA_subcortex.nii.gz +0 -0
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/AICHA_subcortex_lookup.csv +40 -0
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/Brainnetome_subcortex.nii.gz +0 -0
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/Brainnetome_subcortex_lookup.csv +36 -0
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/Melbourne_S1_subcortex.nii.gz +0 -0
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/Melbourne_S1_subcortex_lookup.csv +16 -0
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/Melbourne_S2_subcortex.nii.gz +0 -0
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/Melbourne_S2_subcortex_lookup.csv +32 -0
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/Melbourne_S3_subcortex.nii.gz +0 -0
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/Melbourne_S3_subcortex_lookup.csv +50 -0
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/Melbourne_S4_subcortex.nii.gz +0 -0
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/Melbourne_S4_subcortex_lookup.csv +54 -0
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/SUIT_cerebellar_lobule.nii.gz +0 -0
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/SUIT_cerebellar_lobule_lookup.csv +28 -0
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/Thalamus_Nuclei_HCP.nii.gz +0 -0
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/Thalamus_Nuclei_HCP_lookup.csv +14 -0
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/aseg_subcortex.nii.gz +0 -0
- subcortex_visualization-1.2.1/subcortex_visualization/atlases/aseg_subcortex_lookup.csv +14 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S2_L_ordering.csv +21 -21
- subcortex_visualization-1.2.1/subcortex_visualization/data/Melbourne_S4_L_ordering.csv +45 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S4_R.svg +7 -7
- subcortex_visualization-1.2.1/subcortex_visualization/data/Melbourne_S4_R_ordering.csv +45 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S4_both_ordering.csv +43 -45
- subcortex_visualization-1.1.0/subcortex_visualization/data/SUIT_both.svg → subcortex_visualization-1.2.1/subcortex_visualization/data/SUIT_cerebellar_lobule_both.svg +17 -17
- subcortex_visualization-1.1.0/subcortex_visualization/data/SUIT_both_ordering.csv → subcortex_visualization-1.2.1/subcortex_visualization/data/SUIT_cerebellar_lobule_both_ordering.csv +9 -9
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Thalamus_Nuclei_HCP_L.svg +31 -31
- subcortex_visualization-1.2.1/subcortex_visualization/data/Thalamus_Nuclei_HCP_R.svg +316 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Thalamus_Nuclei_HCP_both.svg +59 -59
- subcortex_visualization-1.2.1/subcortex_visualization/data/__init__.py +0 -0
- subcortex_visualization-1.2.1/subcortex_visualization/data/aseg_L_ordering.csv +14 -0
- subcortex_visualization-1.2.1/subcortex_visualization/data/aseg_R_ordering.csv +14 -0
- subcortex_visualization-1.2.1/subcortex_visualization/data/aseg_both_ordering.csv +27 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/plotting.py +31 -15
- subcortex_visualization-1.2.1/subcortex_visualization/segmentation.py +71 -0
- subcortex_visualization-1.2.1/subcortex_visualization/utils.py +45 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1/subcortex_visualization.egg-info}/PKG-INFO +69 -30
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization.egg-info/SOURCES.txt +22 -2
- subcortex_visualization-1.1.0/subcortex_visualization/data/Melbourne_S4_L_ordering.csv +0 -47
- subcortex_visualization-1.1.0/subcortex_visualization/data/Melbourne_S4_R_ordering.csv +0 -47
- subcortex_visualization-1.1.0/subcortex_visualization/data/Thalamus_Nuclei_HCP_R.svg +0 -316
- subcortex_visualization-1.1.0/subcortex_visualization/data/aseg_L_ordering.csv +0 -14
- subcortex_visualization-1.1.0/subcortex_visualization/data/aseg_R_ordering.csv +0 -14
- subcortex_visualization-1.1.0/subcortex_visualization/data/aseg_both_ordering.csv +0 -27
- subcortex_visualization-1.1.0/subcortex_visualization/utils.py +0 -20
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/LICENSE.txt +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/MANIFEST.in +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/setup.cfg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/__init__.py +0 -0
- {subcortex_visualization-1.1.0/subcortex_visualization/data → subcortex_visualization-1.2.1/subcortex_visualization/atlases}/__init__.py +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/AICHA_L.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/AICHA_L_ordering.csv +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/AICHA_R.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/AICHA_R_ordering.csv +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/AICHA_both.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/AICHA_both_ordering.csv +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Brainnetome_L.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Brainnetome_L_ordering.csv +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Brainnetome_R.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Brainnetome_R_ordering.csv +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Brainnetome_both.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Brainnetome_both_ordering.csv +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S1_L.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S1_L_ordering.csv +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S1_R.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S1_R_ordering.csv +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S1_both.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S1_both_ordering.csv +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S2_L.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S2_R.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S2_R_ordering.csv +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S2_both.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S2_both_ordering.csv +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S3_L.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S3_L_ordering.csv +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S3_R.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S3_R_ordering.csv +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S3_both.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S3_both_ordering.csv +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S4_L.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Melbourne_S4_both.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Thalamus_Nuclei_HCP_L_ordering.csv +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Thalamus_Nuclei_HCP_R_ordering.csv +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/Thalamus_Nuclei_HCP_both_ordering.csv +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/aseg_L.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/aseg_R.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization/data/aseg_both.svg +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization.egg-info/dependency_links.txt +0 -0
- {subcortex_visualization-1.1.0 → subcortex_visualization-1.2.1}/subcortex_visualization.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: subcortex_visualization
|
|
3
|
-
Version: 1.1
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: A package to visualize subcortical and cerebellar brain data in two dimensions.
|
|
5
5
|
Author: Annie G. Bryant
|
|
6
6
|
Author-email: "Annie G. Bryant" <anniegbryant@gmail.com>
|
|
@@ -23,11 +23,11 @@ License-File: LICENSE.txt
|
|
|
23
23
|
Dynamic: author
|
|
24
24
|
Dynamic: license-file
|
|
25
25
|
|
|
26
|
-
#
|
|
26
|
+
# subcortex_visualization: A toolbox for custom data visualization in the subcortex and cerebellum
|
|
27
27
|
|
|
28
|
-
[](https://doi.org/10.64898/2026.01.23.699785)
|
|
29
29
|
|
|
30
|
-
This
|
|
30
|
+
This package (implemented in Python and R) currently includes the following nine subcortical and cerebellar atlases for data visualization in two-dimensional vector graphics:
|
|
31
31
|
|
|
32
32
|
<img src="docs-site/docs/images/all_atlas_showcase.png" width="100%">
|
|
33
33
|
|
|
@@ -35,19 +35,21 @@ More information about these atlases, including the process of rendering the sur
|
|
|
35
35
|
|
|
36
36
|
## 🙋♀️ Motivation
|
|
37
37
|
|
|
38
|
-
This
|
|
39
|
-
We based our vector graphic outlines on the three-dimensional subcortical meshes either (1) provided as part of the [ENIGMA toolbox](https://github.com/MICA-MNI/ENIGMA) for the aseg atlas or (2) meshes generated in-house using rendering software from [Chris Rorden's lab](https://github.com/neurolabusc) ([Surf Ice](https://github.com/neurolabusc/surf-ice); check out [`custom_segmentation_pipeline/`](https://github.com/anniegbryant/subcortex_visualization/tree/main/
|
|
38
|
+
This visualization package was created to generate two-dimensional subcortex images in the style of the popular [`ggseg` package](https://github.com/ggseg/ggseg) in R.
|
|
39
|
+
We based our vector graphic outlines on the three-dimensional subcortical meshes either (1) provided as part of the [ENIGMA toolbox](https://github.com/MICA-MNI/ENIGMA) for the aseg atlas or (2) meshes generated in-house using rendering software from [Chris Rorden's lab](https://github.com/neurolabusc) ([Surf Ice](https://github.com/neurolabusc/surf-ice); check out [`custom_segmentation_pipeline/`](https://github.com/anniegbryant/subcortex_visualization/tree/main/custom_segmentation) or the [project website page](https://anniegbryant.github.io/subcortex_visualization/custom_segmentation/) for more information).
|
|
40
40
|
|
|
41
|
-
The below graphic summarizes the transformation from 3D volumetric meshes to 2D surfaces, starting from the
|
|
41
|
+
The below graphic summarizes the transformation from 3D volumetric meshes to 2D surfaces, starting from the [Melbourne Subcortex Atlas](https://github.com/yetianmed/subcortex/tree/master) as published in [Tian et al. (2020)](https://www.nature.com/articles/s41593-020-00711-6) at the 'S1' resolution.
|
|
42
42
|
|
|
43
|
-
<img src="docs-site/docs/images/
|
|
43
|
+
<img src="docs-site/docs/images/Melbourne_S1_subcortical_atlas_info.png" width="50%">
|
|
44
44
|
|
|
45
|
-
While `ggseg` offers subcortical plotting with the `aseg` atlas, it is [not currently possible](https://github.com/ggseg/ggseg/issues/104) to show data from all seven subcortical regions (accumbens, amygdala, caudate, hippocampus, pallidum, putamen, thalamus) in the same figure.
|
|
46
|
-
Moreover, there is currently no other software available to visualize any of the other above subcortical, thalamic, or cerebellar atlases in two dimensions with real data,
|
|
45
|
+
While [`ggseg`](https://github.com/ggseg/ggseg) offers subcortical plotting with the `aseg` atlas, it is [not currently possible](https://github.com/ggseg/ggseg/issues/104) to show data from all seven subcortical regions (accumbens, amygdala, caudate, hippocampus, pallidum, putamen, thalamus) in the same figure.
|
|
46
|
+
Moreover, there is currently no other software available to visualize any of the other above subcortical, thalamic, or cerebellar atlases in two dimensions with real data, motivating the development of this package.
|
|
47
47
|
|
|
48
48
|
## 🖥️ Installation
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
### Python
|
|
51
|
+
|
|
52
|
+
The Python version of this package can be installed in two ways.
|
|
51
53
|
First, you can install directly with pip from the [PyPI repository](https://pypi.org/project/subcortex-visualization/):
|
|
52
54
|
|
|
53
55
|
```bash
|
|
@@ -64,24 +66,36 @@ pip install .
|
|
|
64
66
|
|
|
65
67
|
This will install the `subcortex_visualization` package so you have access to the `plot_subcortical_data` function and associated data.
|
|
66
68
|
|
|
69
|
+
### R
|
|
70
|
+
|
|
71
|
+
The R version of this package can be installed from GitHub within R using the `remotes` package as follows:
|
|
72
|
+
|
|
73
|
+
```R
|
|
74
|
+
# if not already installed
|
|
75
|
+
install.packages("remotes")
|
|
76
|
+
|
|
77
|
+
# then install subcortexVisualizationR
|
|
78
|
+
remotes::install_github("anniegbryant/subcortex_visualization", subdir = "subcortexVisualizationR"
|
|
79
|
+
```
|
|
80
|
+
|
|
67
81
|
## 👨💻 Usage
|
|
68
82
|
|
|
69
83
|
### ❗️ Quick start
|
|
70
84
|
|
|
71
|
-
Running the code below will produce an image of the left subcortex in the aseg atlas (the default), each region colored by its index, with the plasma color scheme:
|
|
85
|
+
Running the code below (in either python or R) will produce an image of the left subcortex in the aseg atlas (the default), each region colored by its index, with the plasma color scheme:
|
|
72
86
|
|
|
73
87
|
```python
|
|
74
88
|
plot_subcortical_data(hemisphere='L', cmap='plasma',
|
|
75
89
|
fill_title = "Subcortical region index")
|
|
76
90
|
```
|
|
77
91
|
|
|
78
|
-
<img src="docs-site/docs/images/example_aseg_subcortex_plot.png" width="
|
|
92
|
+
<img src="docs-site/docs/images/example_aseg_subcortex_plot.png" width="60%">
|
|
79
93
|
|
|
80
94
|
|
|
81
95
|
### 📚 Tutorial
|
|
82
96
|
|
|
83
|
-
For a guide that goes through all the functionality and atlases available in this package, we compiled a simple walkthrough tutorial in [tutorial.ipynb](https://github.com/anniegbryant/subcortex_visualization/blob/main/tutorial.ipynb).
|
|
84
|
-
To plot real data in the subcortex, your `subcortex_data` should be
|
|
97
|
+
For a guide that goes through all the functionality and atlases available in this package, we compiled a simple walkthrough tutorial in Python ([tutorial.ipynb](https://github.com/anniegbryant/subcortex_visualization/blob/main/tutorial.ipynb)) and R ([tutorial_R.md](https://github.com/anniegbryant/subcortex_visualization/blob/main/tutorial_R.md)).
|
|
98
|
+
To plot real data in the subcortex, your `subcortex_data` should be a Python `pandas.DataFrame` or an R `data.frame` structured as follows (here we've just assigned an integer index to each region):
|
|
85
99
|
|
|
86
100
|
| region | value | Hemisphere |
|
|
87
101
|
| :--- | :---: | :---: |
|
|
@@ -97,16 +111,16 @@ Briefly, all functionality is contained within the `plot_subcortical_data` funct
|
|
|
97
111
|
* `subcortex_data`: The three-column dataframe in a format as shown above; this is optional, if left out the plot will just color each region by its index
|
|
98
112
|
* `atlas`: The name of the subcortical, thalamic, or cerebellar segmentation atlas (default is 'aseg', all options listed below)
|
|
99
113
|
* `value_column`: The name of the column in your `subcortex_data` to plot, defaults to 'value'
|
|
100
|
-
* `line_thickness`: How thick the lines around each subcortical region should be drawn
|
|
114
|
+
* `line_thickness`: How thick the lines around each subcortical region should be drawn
|
|
101
115
|
* `line_color`: What color the lines around each subcortical region should be (default is 'black')
|
|
102
116
|
* `hemisphere`: Which hemisphere ('L' or 'R') the `subcortex_data` is from; can also be 'both' (default is 'L')
|
|
103
117
|
* `fill_title`: Name to add to legend (default is 'values')
|
|
104
|
-
* `cmap`: name of colormap (e.g., 'plasma' or 'viridis') or a `matplotlib.colors.Colormap` (default is 'viridis')
|
|
118
|
+
* `cmap`: name of colormap (e.g., 'plasma' or 'viridis') or a `matplotlib.colors.Colormap` (default is 'viridis'); for R, this could be a vector of discrete colors or a color palette generating function
|
|
105
119
|
* `vmin`: Min fill value; this is optional, and you would only want to use this to manually constrain the fill range to match another figure
|
|
106
120
|
* `vmax`: Max fill value; this is optional, and you would only want to use this to manually constrain the fill range to match another figure
|
|
107
121
|
* `midpoint`: Midpoint value to enforce for fill range; this is optional
|
|
108
122
|
|
|
109
|
-
Here's an example plotting both hemispheres, with data randomly sampled from a normal distribution, setting a color range from blue (low) to red (high) with white at the center (midpoint=0):
|
|
123
|
+
Here's an example in Python for plotting both hemispheres, with data randomly sampled from a normal distribution, setting a color range from blue (low) to red (high) with white at the center (midpoint=0):
|
|
110
124
|
|
|
111
125
|
```python
|
|
112
126
|
import matplotlib.colors as mcolors
|
|
@@ -127,11 +141,11 @@ plot_subcortical_data(subcortex_data=example_continuous_data, atlas='aseg',
|
|
|
127
141
|
cmap=white_blue_red_cmap, midpoint=0)
|
|
128
142
|
```
|
|
129
143
|
|
|
130
|
-
<img src="docs-site/docs/images/example_aseg_subcortex_normdist.png" width="
|
|
144
|
+
<img src="docs-site/docs/images/example_aseg_subcortex_normdist.png" width="75%">
|
|
131
145
|
|
|
132
|
-
### Available atlases
|
|
146
|
+
### 🗺️ Available atlases
|
|
133
147
|
|
|
134
|
-
The following
|
|
148
|
+
The following subcortical and cerebellar atlases are currently supported with more information at the [project website](https://anniegbryant.github.io/subcortex_visualization/atlas_info/):
|
|
135
149
|
|
|
136
150
|
* `aseg`: The `aseg` parcellation atlas from FreeSurfer
|
|
137
151
|
* `Melbourne_S1`: The Melbourne Subcortex Atlas at granularity level S1, from [Tian et al. *Nature Neuroscience* (2020)](https://www.nature.com/articles/s41593-020-00711-6)
|
|
@@ -143,10 +157,17 @@ The following nine subcortical atlases are currently supported with more informa
|
|
|
143
157
|
* `Thalamus_Nuclei_HCP`: The thalamic nuclei atlas derived from HCP data, from [Najdenovska et al. *Scientific Data* (2018)](https://www.nature.com/articles/sdata2018270)
|
|
144
158
|
* `SUIT`: The SUIT cerebellum atlas, from [Diedrichsen *Neuroimage* (2006)](https://doi.org/10.1016/j.neuroimage.2006.05.056)
|
|
145
159
|
|
|
160
|
+
### 🌟 Atlas wishlist
|
|
161
|
+
|
|
162
|
+
These atlases are on the 'vision board' for me to add to the package next (community pull requests absolutely welcome to incorporate these in the meantime):
|
|
163
|
+
|
|
164
|
+
* Thalamus-Optimized Multi-Atlas Segmentation (THOMAS) atlas: High-resolution segmentation of thalamic nuclei ([file link](https://zenodo.org/records/5499504)), recently expanded to all deep grey nuclei as described in [Saranathan et al. (2025)](https://doi.org/10.1002/hbm.70350)
|
|
165
|
+
* Brainstem (suggested by [@RaviBot](https://github.com/RaviBot)): Brainstem Navigator atlas ([file link](https://www.nitrc.org/projects/brainstemnavig)), as described in [Bianciardi et al. (2015)](https://doi.org/10.1089/brain.2015.0347)
|
|
166
|
+
* CIT168 Reinforcement Learning Atlas (suggested by [@GalKepler](https://github.com/GalKepler)): Subcortical atlas ([file link](https://osf.io/jkzwp/wiki)) that includes the principal nuclei involved in reinforcement learning, as described in [Pauli et al. (2018)](https://doi.org/10.1038/sdata.2018.63)
|
|
146
167
|
|
|
147
168
|
## 💡 Want to generate your own mesh and/or parcellation?
|
|
148
169
|
|
|
149
|
-
<img src="docs-site/docs/images/custom_vector_method.png" width="
|
|
170
|
+
<img src="docs-site/docs/images/custom_vector_method.png" width="60%">
|
|
150
171
|
|
|
151
172
|
This package provides nine subcortical, thalamic, and cerebellar atlases as a starting point.
|
|
152
173
|
The workflow can readily be extended to your favorite segmentation atlas, though!
|
|
@@ -154,21 +175,39 @@ We have a dedicated folder for a custom segmentation pipeline that will walk you
|
|
|
154
175
|
1. Rendering a series of triangulated surface meshes from your parcellation atlas (starting from a .nii.gz volume), using the [`surfice_atlas`](https://github.com/neurolabusc/surfice_atlas) software, both developed by [Chris Rorden's lab](https://github.com/rordenlab); and
|
|
155
176
|
2. Tracing the outline of each region in the rendered mesh in vector graphic editing software (we use Inkscape in the tutorial as a powerful and free option), to yield a two-dimensional image of your atlas in scalable vector graphic (.svg) format.
|
|
156
177
|
|
|
157
|
-
Check out the walkthrough in the [`
|
|
178
|
+
Check out the walkthrough in the [`custom_segmentation/`](https://github.com/anniegbryant/subcortex_visualization/tree/main/custom_segmentation) folder or the [project website page](https://anniegbryant.github.io/subcortex_visualization/custom_segmentation/) for more information on how to render your own volumetric segmentation with an interactive mesh and convert to a two-dimensional vector graphic that can be integrated with this package.
|
|
158
179
|
|
|
159
|
-
##
|
|
180
|
+
## 🔗 Citing this package
|
|
160
181
|
|
|
161
|
-
|
|
182
|
+
If you use this package in a scientific publication, blog post, etc., please read and cite the [associated preprint](https://www.biorxiv.org/content/10.64898/2026.01.23.699785):
|
|
162
183
|
|
|
163
|
-
|
|
184
|
+
* 📕 Bryant, Annie G. (2026). Subcortex visualization: A toolbox for custom data visualization in the subcortex and cerebellum. *bioRxiv*, 2026-01. doi:10.64898/2026.01.23.699785.
|
|
164
185
|
|
|
165
|
-
|
|
186
|
+
<details closed>
|
|
187
|
+
<summary>Click here for a BibTex reference:</summary>
|
|
166
188
|
|
|
167
|
-
|
|
189
|
+
```
|
|
190
|
+
@article{bryant2026subcortex,
|
|
191
|
+
title = {Subcortex visualization: A toolbox for custom data visualization in the subcortex and cerebellum},
|
|
192
|
+
url = {https://www.biorxiv.org/content/10.64898/2026.01.23.699785},
|
|
193
|
+
doi = {10.64898/2026.01.23.699785},
|
|
194
|
+
journal = {bioRxiv},
|
|
195
|
+
publisher={Cold Spring Harbor Laboratory},
|
|
196
|
+
author = {Bryant, Annie G.},
|
|
197
|
+
pages = {2026--01},
|
|
198
|
+
year = {2026}
|
|
199
|
+
}
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
</details>
|
|
168
203
|
|
|
169
|
-
|
|
204
|
+
## 🙏 Acknowledgments
|
|
205
|
+
|
|
206
|
+
Thank you very much to [Sidhant Chopra](https://github.com/sidchop), [Chris Rorden](https://github.com/rordenlab), [Justine Hansen](https://github.com/justinehansen), and [Ye Tian](https://github.com/yetianmed) for their suggestions and continued development of open tools for neuroimaging visualization that enabled the development of this project!
|
|
170
207
|
|
|
171
|
-
|
|
208
|
+
We're also very grateful for ongoing contributions from members of the GitHub community:
|
|
209
|
+
|
|
210
|
+
[](https://github.com/anniegbryant/subcortex_visualization/graphs/contributors)
|
|
172
211
|
|
|
173
212
|
## ❓📧 Questions, comments, or suggestions always welcome!
|
|
174
213
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# subcortex_visualization: A toolbox for custom data visualization in the subcortex and cerebellum
|
|
2
2
|
|
|
3
|
-
[](https://doi.org/10.64898/2026.01.23.699785)
|
|
4
4
|
|
|
5
|
-
This
|
|
5
|
+
This package (implemented in Python and R) currently includes the following nine subcortical and cerebellar atlases for data visualization in two-dimensional vector graphics:
|
|
6
6
|
|
|
7
7
|
<img src="docs-site/docs/images/all_atlas_showcase.png" width="100%">
|
|
8
8
|
|
|
@@ -10,19 +10,21 @@ More information about these atlases, including the process of rendering the sur
|
|
|
10
10
|
|
|
11
11
|
## 🙋♀️ Motivation
|
|
12
12
|
|
|
13
|
-
This
|
|
14
|
-
We based our vector graphic outlines on the three-dimensional subcortical meshes either (1) provided as part of the [ENIGMA toolbox](https://github.com/MICA-MNI/ENIGMA) for the aseg atlas or (2) meshes generated in-house using rendering software from [Chris Rorden's lab](https://github.com/neurolabusc) ([Surf Ice](https://github.com/neurolabusc/surf-ice); check out [`custom_segmentation_pipeline/`](https://github.com/anniegbryant/subcortex_visualization/tree/main/
|
|
13
|
+
This visualization package was created to generate two-dimensional subcortex images in the style of the popular [`ggseg` package](https://github.com/ggseg/ggseg) in R.
|
|
14
|
+
We based our vector graphic outlines on the three-dimensional subcortical meshes either (1) provided as part of the [ENIGMA toolbox](https://github.com/MICA-MNI/ENIGMA) for the aseg atlas or (2) meshes generated in-house using rendering software from [Chris Rorden's lab](https://github.com/neurolabusc) ([Surf Ice](https://github.com/neurolabusc/surf-ice); check out [`custom_segmentation_pipeline/`](https://github.com/anniegbryant/subcortex_visualization/tree/main/custom_segmentation) or the [project website page](https://anniegbryant.github.io/subcortex_visualization/custom_segmentation/) for more information).
|
|
15
15
|
|
|
16
|
-
The below graphic summarizes the transformation from 3D volumetric meshes to 2D surfaces, starting from the
|
|
16
|
+
The below graphic summarizes the transformation from 3D volumetric meshes to 2D surfaces, starting from the [Melbourne Subcortex Atlas](https://github.com/yetianmed/subcortex/tree/master) as published in [Tian et al. (2020)](https://www.nature.com/articles/s41593-020-00711-6) at the 'S1' resolution.
|
|
17
17
|
|
|
18
|
-
<img src="docs-site/docs/images/
|
|
18
|
+
<img src="docs-site/docs/images/Melbourne_S1_subcortical_atlas_info.png" width="50%">
|
|
19
19
|
|
|
20
|
-
While `ggseg` offers subcortical plotting with the `aseg` atlas, it is [not currently possible](https://github.com/ggseg/ggseg/issues/104) to show data from all seven subcortical regions (accumbens, amygdala, caudate, hippocampus, pallidum, putamen, thalamus) in the same figure.
|
|
21
|
-
Moreover, there is currently no other software available to visualize any of the other above subcortical, thalamic, or cerebellar atlases in two dimensions with real data,
|
|
20
|
+
While [`ggseg`](https://github.com/ggseg/ggseg) offers subcortical plotting with the `aseg` atlas, it is [not currently possible](https://github.com/ggseg/ggseg/issues/104) to show data from all seven subcortical regions (accumbens, amygdala, caudate, hippocampus, pallidum, putamen, thalamus) in the same figure.
|
|
21
|
+
Moreover, there is currently no other software available to visualize any of the other above subcortical, thalamic, or cerebellar atlases in two dimensions with real data, motivating the development of this package.
|
|
22
22
|
|
|
23
23
|
## 🖥️ Installation
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
### Python
|
|
26
|
+
|
|
27
|
+
The Python version of this package can be installed in two ways.
|
|
26
28
|
First, you can install directly with pip from the [PyPI repository](https://pypi.org/project/subcortex-visualization/):
|
|
27
29
|
|
|
28
30
|
```bash
|
|
@@ -39,24 +41,36 @@ pip install .
|
|
|
39
41
|
|
|
40
42
|
This will install the `subcortex_visualization` package so you have access to the `plot_subcortical_data` function and associated data.
|
|
41
43
|
|
|
44
|
+
### R
|
|
45
|
+
|
|
46
|
+
The R version of this package can be installed from GitHub within R using the `remotes` package as follows:
|
|
47
|
+
|
|
48
|
+
```R
|
|
49
|
+
# if not already installed
|
|
50
|
+
install.packages("remotes")
|
|
51
|
+
|
|
52
|
+
# then install subcortexVisualizationR
|
|
53
|
+
remotes::install_github("anniegbryant/subcortex_visualization", subdir = "subcortexVisualizationR"
|
|
54
|
+
```
|
|
55
|
+
|
|
42
56
|
## 👨💻 Usage
|
|
43
57
|
|
|
44
58
|
### ❗️ Quick start
|
|
45
59
|
|
|
46
|
-
Running the code below will produce an image of the left subcortex in the aseg atlas (the default), each region colored by its index, with the plasma color scheme:
|
|
60
|
+
Running the code below (in either python or R) will produce an image of the left subcortex in the aseg atlas (the default), each region colored by its index, with the plasma color scheme:
|
|
47
61
|
|
|
48
62
|
```python
|
|
49
63
|
plot_subcortical_data(hemisphere='L', cmap='plasma',
|
|
50
64
|
fill_title = "Subcortical region index")
|
|
51
65
|
```
|
|
52
66
|
|
|
53
|
-
<img src="docs-site/docs/images/example_aseg_subcortex_plot.png" width="
|
|
67
|
+
<img src="docs-site/docs/images/example_aseg_subcortex_plot.png" width="60%">
|
|
54
68
|
|
|
55
69
|
|
|
56
70
|
### 📚 Tutorial
|
|
57
71
|
|
|
58
|
-
For a guide that goes through all the functionality and atlases available in this package, we compiled a simple walkthrough tutorial in [tutorial.ipynb](https://github.com/anniegbryant/subcortex_visualization/blob/main/tutorial.ipynb).
|
|
59
|
-
To plot real data in the subcortex, your `subcortex_data` should be
|
|
72
|
+
For a guide that goes through all the functionality and atlases available in this package, we compiled a simple walkthrough tutorial in Python ([tutorial.ipynb](https://github.com/anniegbryant/subcortex_visualization/blob/main/tutorial.ipynb)) and R ([tutorial_R.md](https://github.com/anniegbryant/subcortex_visualization/blob/main/tutorial_R.md)).
|
|
73
|
+
To plot real data in the subcortex, your `subcortex_data` should be a Python `pandas.DataFrame` or an R `data.frame` structured as follows (here we've just assigned an integer index to each region):
|
|
60
74
|
|
|
61
75
|
| region | value | Hemisphere |
|
|
62
76
|
| :--- | :---: | :---: |
|
|
@@ -72,16 +86,16 @@ Briefly, all functionality is contained within the `plot_subcortical_data` funct
|
|
|
72
86
|
* `subcortex_data`: The three-column dataframe in a format as shown above; this is optional, if left out the plot will just color each region by its index
|
|
73
87
|
* `atlas`: The name of the subcortical, thalamic, or cerebellar segmentation atlas (default is 'aseg', all options listed below)
|
|
74
88
|
* `value_column`: The name of the column in your `subcortex_data` to plot, defaults to 'value'
|
|
75
|
-
* `line_thickness`: How thick the lines around each subcortical region should be drawn
|
|
89
|
+
* `line_thickness`: How thick the lines around each subcortical region should be drawn
|
|
76
90
|
* `line_color`: What color the lines around each subcortical region should be (default is 'black')
|
|
77
91
|
* `hemisphere`: Which hemisphere ('L' or 'R') the `subcortex_data` is from; can also be 'both' (default is 'L')
|
|
78
92
|
* `fill_title`: Name to add to legend (default is 'values')
|
|
79
|
-
* `cmap`: name of colormap (e.g., 'plasma' or 'viridis') or a `matplotlib.colors.Colormap` (default is 'viridis')
|
|
93
|
+
* `cmap`: name of colormap (e.g., 'plasma' or 'viridis') or a `matplotlib.colors.Colormap` (default is 'viridis'); for R, this could be a vector of discrete colors or a color palette generating function
|
|
80
94
|
* `vmin`: Min fill value; this is optional, and you would only want to use this to manually constrain the fill range to match another figure
|
|
81
95
|
* `vmax`: Max fill value; this is optional, and you would only want to use this to manually constrain the fill range to match another figure
|
|
82
96
|
* `midpoint`: Midpoint value to enforce for fill range; this is optional
|
|
83
97
|
|
|
84
|
-
Here's an example plotting both hemispheres, with data randomly sampled from a normal distribution, setting a color range from blue (low) to red (high) with white at the center (midpoint=0):
|
|
98
|
+
Here's an example in Python for plotting both hemispheres, with data randomly sampled from a normal distribution, setting a color range from blue (low) to red (high) with white at the center (midpoint=0):
|
|
85
99
|
|
|
86
100
|
```python
|
|
87
101
|
import matplotlib.colors as mcolors
|
|
@@ -102,11 +116,11 @@ plot_subcortical_data(subcortex_data=example_continuous_data, atlas='aseg',
|
|
|
102
116
|
cmap=white_blue_red_cmap, midpoint=0)
|
|
103
117
|
```
|
|
104
118
|
|
|
105
|
-
<img src="docs-site/docs/images/example_aseg_subcortex_normdist.png" width="
|
|
119
|
+
<img src="docs-site/docs/images/example_aseg_subcortex_normdist.png" width="75%">
|
|
106
120
|
|
|
107
|
-
### Available atlases
|
|
121
|
+
### 🗺️ Available atlases
|
|
108
122
|
|
|
109
|
-
The following
|
|
123
|
+
The following subcortical and cerebellar atlases are currently supported with more information at the [project website](https://anniegbryant.github.io/subcortex_visualization/atlas_info/):
|
|
110
124
|
|
|
111
125
|
* `aseg`: The `aseg` parcellation atlas from FreeSurfer
|
|
112
126
|
* `Melbourne_S1`: The Melbourne Subcortex Atlas at granularity level S1, from [Tian et al. *Nature Neuroscience* (2020)](https://www.nature.com/articles/s41593-020-00711-6)
|
|
@@ -118,10 +132,17 @@ The following nine subcortical atlases are currently supported with more informa
|
|
|
118
132
|
* `Thalamus_Nuclei_HCP`: The thalamic nuclei atlas derived from HCP data, from [Najdenovska et al. *Scientific Data* (2018)](https://www.nature.com/articles/sdata2018270)
|
|
119
133
|
* `SUIT`: The SUIT cerebellum atlas, from [Diedrichsen *Neuroimage* (2006)](https://doi.org/10.1016/j.neuroimage.2006.05.056)
|
|
120
134
|
|
|
135
|
+
### 🌟 Atlas wishlist
|
|
136
|
+
|
|
137
|
+
These atlases are on the 'vision board' for me to add to the package next (community pull requests absolutely welcome to incorporate these in the meantime):
|
|
138
|
+
|
|
139
|
+
* Thalamus-Optimized Multi-Atlas Segmentation (THOMAS) atlas: High-resolution segmentation of thalamic nuclei ([file link](https://zenodo.org/records/5499504)), recently expanded to all deep grey nuclei as described in [Saranathan et al. (2025)](https://doi.org/10.1002/hbm.70350)
|
|
140
|
+
* Brainstem (suggested by [@RaviBot](https://github.com/RaviBot)): Brainstem Navigator atlas ([file link](https://www.nitrc.org/projects/brainstemnavig)), as described in [Bianciardi et al. (2015)](https://doi.org/10.1089/brain.2015.0347)
|
|
141
|
+
* CIT168 Reinforcement Learning Atlas (suggested by [@GalKepler](https://github.com/GalKepler)): Subcortical atlas ([file link](https://osf.io/jkzwp/wiki)) that includes the principal nuclei involved in reinforcement learning, as described in [Pauli et al. (2018)](https://doi.org/10.1038/sdata.2018.63)
|
|
121
142
|
|
|
122
143
|
## 💡 Want to generate your own mesh and/or parcellation?
|
|
123
144
|
|
|
124
|
-
<img src="docs-site/docs/images/custom_vector_method.png" width="
|
|
145
|
+
<img src="docs-site/docs/images/custom_vector_method.png" width="60%">
|
|
125
146
|
|
|
126
147
|
This package provides nine subcortical, thalamic, and cerebellar atlases as a starting point.
|
|
127
148
|
The workflow can readily be extended to your favorite segmentation atlas, though!
|
|
@@ -129,21 +150,39 @@ We have a dedicated folder for a custom segmentation pipeline that will walk you
|
|
|
129
150
|
1. Rendering a series of triangulated surface meshes from your parcellation atlas (starting from a .nii.gz volume), using the [`surfice_atlas`](https://github.com/neurolabusc/surfice_atlas) software, both developed by [Chris Rorden's lab](https://github.com/rordenlab); and
|
|
130
151
|
2. Tracing the outline of each region in the rendered mesh in vector graphic editing software (we use Inkscape in the tutorial as a powerful and free option), to yield a two-dimensional image of your atlas in scalable vector graphic (.svg) format.
|
|
131
152
|
|
|
132
|
-
Check out the walkthrough in the [`
|
|
153
|
+
Check out the walkthrough in the [`custom_segmentation/`](https://github.com/anniegbryant/subcortex_visualization/tree/main/custom_segmentation) folder or the [project website page](https://anniegbryant.github.io/subcortex_visualization/custom_segmentation/) for more information on how to render your own volumetric segmentation with an interactive mesh and convert to a two-dimensional vector graphic that can be integrated with this package.
|
|
133
154
|
|
|
134
|
-
##
|
|
155
|
+
## 🔗 Citing this package
|
|
135
156
|
|
|
136
|
-
|
|
157
|
+
If you use this package in a scientific publication, blog post, etc., please read and cite the [associated preprint](https://www.biorxiv.org/content/10.64898/2026.01.23.699785):
|
|
137
158
|
|
|
138
|
-
|
|
159
|
+
* 📕 Bryant, Annie G. (2026). Subcortex visualization: A toolbox for custom data visualization in the subcortex and cerebellum. *bioRxiv*, 2026-01. doi:10.64898/2026.01.23.699785.
|
|
139
160
|
|
|
140
|
-
|
|
161
|
+
<details closed>
|
|
162
|
+
<summary>Click here for a BibTex reference:</summary>
|
|
141
163
|
|
|
142
|
-
|
|
164
|
+
```
|
|
165
|
+
@article{bryant2026subcortex,
|
|
166
|
+
title = {Subcortex visualization: A toolbox for custom data visualization in the subcortex and cerebellum},
|
|
167
|
+
url = {https://www.biorxiv.org/content/10.64898/2026.01.23.699785},
|
|
168
|
+
doi = {10.64898/2026.01.23.699785},
|
|
169
|
+
journal = {bioRxiv},
|
|
170
|
+
publisher={Cold Spring Harbor Laboratory},
|
|
171
|
+
author = {Bryant, Annie G.},
|
|
172
|
+
pages = {2026--01},
|
|
173
|
+
year = {2026}
|
|
174
|
+
}
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
</details>
|
|
143
178
|
|
|
144
|
-
|
|
179
|
+
## 🙏 Acknowledgments
|
|
180
|
+
|
|
181
|
+
Thank you very much to [Sidhant Chopra](https://github.com/sidchop), [Chris Rorden](https://github.com/rordenlab), [Justine Hansen](https://github.com/justinehansen), and [Ye Tian](https://github.com/yetianmed) for their suggestions and continued development of open tools for neuroimaging visualization that enabled the development of this project!
|
|
145
182
|
|
|
146
|
-
|
|
183
|
+
We're also very grateful for ongoing contributions from members of the GitHub community:
|
|
184
|
+
|
|
185
|
+
[](https://github.com/anniegbryant/subcortex_visualization/graphs/contributors)
|
|
147
186
|
|
|
148
187
|
## ❓📧 Questions, comments, or suggestions always welcome!
|
|
149
188
|
|
|
@@ -10,13 +10,13 @@ install_requires = [
|
|
|
10
10
|
|
|
11
11
|
setup(
|
|
12
12
|
name='subcortex_visualization',
|
|
13
|
-
version='
|
|
13
|
+
version='1.2.1',
|
|
14
14
|
description='Visualize subcortical brain data from SVG templates',
|
|
15
15
|
author='Annie G. Bryant',
|
|
16
16
|
packages=find_packages(),
|
|
17
17
|
include_package_data=True, # ← IMPORTANT
|
|
18
18
|
package_data={
|
|
19
|
-
'subcortex_visualization': ['data/*.svg', 'data/*.csv'],
|
|
19
|
+
'subcortex_visualization': ['data/*.svg', 'data/*.csv', 'atlases/*.nii.gz', 'atlases/*.csv'],
|
|
20
20
|
},
|
|
21
21
|
install_requires=[
|
|
22
22
|
'numpy',
|
|
Binary file
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
345,Amygdala-1-lh
|
|
2
|
+
346,Amygdala-1-rh
|
|
3
|
+
347,Caudate-1-lh
|
|
4
|
+
348,Caudate-1-rh
|
|
5
|
+
349,Caudate-2-lh
|
|
6
|
+
350,Caudate-2-rh
|
|
7
|
+
351,Caudate-3-lh
|
|
8
|
+
352,Caudate-3-rh
|
|
9
|
+
353,Caudate-4-lh
|
|
10
|
+
354,Caudate-4-rh
|
|
11
|
+
355,Caudate-5-lh
|
|
12
|
+
356,Caudate-5-rh
|
|
13
|
+
357,Caudate-6-lh
|
|
14
|
+
358,Caudate-6-rh
|
|
15
|
+
359,Caudate-7-lh
|
|
16
|
+
360,Caudate-7-rh
|
|
17
|
+
361,Pallidum-1-lh
|
|
18
|
+
362,Pallidum-1-rh
|
|
19
|
+
363,Putamen-2-lh
|
|
20
|
+
364,Putamen-2-rh
|
|
21
|
+
365,Putamen-3-lh
|
|
22
|
+
366,Putamen-3-rh
|
|
23
|
+
367,Thalamus-1-lh
|
|
24
|
+
368,Thalamus-1-rh
|
|
25
|
+
369,Thalamus-2-lh
|
|
26
|
+
370,Thalamus-2-rh
|
|
27
|
+
371,Thalamus-3-lh
|
|
28
|
+
372,Thalamus-3-rh
|
|
29
|
+
373,Thalamus-4-lh
|
|
30
|
+
374,Thalamus-4-rh
|
|
31
|
+
375,Thalamus-5-lh
|
|
32
|
+
376,Thalamus-5-rh
|
|
33
|
+
377,Thalamus-6-lh
|
|
34
|
+
378,Thalamus-6-rh
|
|
35
|
+
379,Thalamus-7-lh
|
|
36
|
+
380,Thalamus-7-rh
|
|
37
|
+
381,Thalamus-8-lh
|
|
38
|
+
382,Thalamus-8-rh
|
|
39
|
+
383,Thalamus-9-lh
|
|
40
|
+
384,Thalamus-9-rh
|
|
Binary file
|
subcortex_visualization-1.2.1/subcortex_visualization/atlases/Brainnetome_subcortex_lookup.csv
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
211,mAmyg-lh
|
|
2
|
+
212,mAmyg-rh
|
|
3
|
+
213,lAmyg-lh
|
|
4
|
+
214,lAmyg-rh
|
|
5
|
+
215,rHipp-lh
|
|
6
|
+
216,rHipp-rh
|
|
7
|
+
217,cHipp-lh
|
|
8
|
+
218,cHipp-rh
|
|
9
|
+
219,vCa-lh
|
|
10
|
+
220,vCa-rh
|
|
11
|
+
221,GP-lh
|
|
12
|
+
222,GP-rh
|
|
13
|
+
223,NAC-lh
|
|
14
|
+
224,NAC-rh
|
|
15
|
+
225,vmPu-lh
|
|
16
|
+
226,vmPu-rh
|
|
17
|
+
227,dCa-lh
|
|
18
|
+
228,dCa-rh
|
|
19
|
+
229,dlPu-lh
|
|
20
|
+
230,dlPu-rh
|
|
21
|
+
231,mPFtha-lh
|
|
22
|
+
232,mPFtha-rh
|
|
23
|
+
233,mPMtha-lh
|
|
24
|
+
234,mPMtha-rh
|
|
25
|
+
235,Stha-lh
|
|
26
|
+
236,Stha-rh
|
|
27
|
+
237,rTtha-lh
|
|
28
|
+
238,rTtha-rh
|
|
29
|
+
239,PPtha-lh
|
|
30
|
+
240,PPtha-rh
|
|
31
|
+
241,Otha-lh
|
|
32
|
+
242,Otha-rh
|
|
33
|
+
243,cTtha-lh
|
|
34
|
+
244,cTtha-rh
|
|
35
|
+
245,lPFtha-lh
|
|
36
|
+
246,lPFtha-rh
|
|
Binary file
|
subcortex_visualization-1.2.1/subcortex_visualization/atlases/Melbourne_S1_subcortex_lookup.csv
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
1,hippocampus-rh
|
|
2
|
+
2,amygdala-rh
|
|
3
|
+
3,thalamus_posterior-rh
|
|
4
|
+
4,thalamus_anterior-rh
|
|
5
|
+
5,pallidum-rh
|
|
6
|
+
6,accumbens-rh
|
|
7
|
+
7,putamen-rh
|
|
8
|
+
8,caudate-rh
|
|
9
|
+
9,hippocampus-lh
|
|
10
|
+
10,amygdala-lh
|
|
11
|
+
11,thalamus_posterior-lh
|
|
12
|
+
12,thalamus_anterior-lh
|
|
13
|
+
13,pallidum-lh
|
|
14
|
+
14,accumbens-lh
|
|
15
|
+
15,putamen-lh
|
|
16
|
+
16,caudate-lh
|
|
Binary file
|
subcortex_visualization-1.2.1/subcortex_visualization/atlases/Melbourne_S2_subcortex_lookup.csv
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
1,hippocampus_anterior-rh
|
|
2
|
+
2,hippocampus_posterior-rh
|
|
3
|
+
3,amygdala_lateral-rh
|
|
4
|
+
4,amygdala_medial-rh
|
|
5
|
+
5,thalamus_DP-rh
|
|
6
|
+
6,thalamus_VP-rh
|
|
7
|
+
7,thalamus_VA-rh
|
|
8
|
+
8,thalamus_DA-rh
|
|
9
|
+
9,accumbens_shell-rh
|
|
10
|
+
10,accumbens_core-rh
|
|
11
|
+
11,pallidum_posterior-rh
|
|
12
|
+
12,pallidum_anterior-rh
|
|
13
|
+
13,putamen_anterior-rh
|
|
14
|
+
14,putamen_posterior-rh
|
|
15
|
+
15,caudate_anterior-rh
|
|
16
|
+
16,caudate_posterior-rh
|
|
17
|
+
17,hippocampus_anterior-lh
|
|
18
|
+
18,hippocampus_posterior-lh
|
|
19
|
+
19,amygdala_lateral-lh
|
|
20
|
+
20,amygdala_medial-lh
|
|
21
|
+
21,thalamus_DP-lh
|
|
22
|
+
22,thalamus_VP-lh
|
|
23
|
+
23,thalamus_VA-lh
|
|
24
|
+
24,thalamus_DA-lh
|
|
25
|
+
25,accumbens_shell-lh
|
|
26
|
+
26,accumbens_core-lh
|
|
27
|
+
27,pallidum_posterior-lh
|
|
28
|
+
28,pallidum_anterior-lh
|
|
29
|
+
29,putamen_anterior-lh
|
|
30
|
+
30,putamen_posterior-lh
|
|
31
|
+
31,caudate_anterior-lh
|
|
32
|
+
32,caudate_posterior-lh
|
|
Binary file
|
subcortex_visualization-1.2.1/subcortex_visualization/atlases/Melbourne_S3_subcortex_lookup.csv
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
1,hippocampus_head_med-rh
|
|
2
|
+
2,hippocampus_head_lat-rh
|
|
3
|
+
3,hippocampus_body-rh
|
|
4
|
+
4,hippocampus_tail-rh
|
|
5
|
+
5,thalamus_VP_med-rh
|
|
6
|
+
6,thalamus_VP_lat-rh
|
|
7
|
+
7,thalamus_VA_inf-rh
|
|
8
|
+
8,thalamus_VA_sup-rh
|
|
9
|
+
9,thalamus_DA_med-rh
|
|
10
|
+
10,thalamus_DA_lat-rh
|
|
11
|
+
11,putamen_VA-rh
|
|
12
|
+
12,putamen_DA-rh
|
|
13
|
+
13,putamen_VP-rh
|
|
14
|
+
14,putamen_DP-rh
|
|
15
|
+
15,caudate_VA-rh
|
|
16
|
+
16,caudate_DA-rh
|
|
17
|
+
17,caudate_body-rh
|
|
18
|
+
18,caudate_tail-rh
|
|
19
|
+
19,amygdala_lat-rh
|
|
20
|
+
20,amygdala_med-rh
|
|
21
|
+
21,thalamus_DP-rh
|
|
22
|
+
22,accumbens_shell-rh
|
|
23
|
+
23,accumbens_core-rh
|
|
24
|
+
24,GP_post-rh
|
|
25
|
+
25,GP_ant-rh
|
|
26
|
+
26,hippocampus_head_med-lh
|
|
27
|
+
27,hippocampus_head_lat-lh
|
|
28
|
+
28,hippocampus_body-lh
|
|
29
|
+
29,hippocampus_tail-lh
|
|
30
|
+
30,thalamus_VP_med-lh
|
|
31
|
+
31,thalamus_VP_lat-lh
|
|
32
|
+
32,thalamus_VA_inf-lh
|
|
33
|
+
33,thalamus_VA_sup-lh
|
|
34
|
+
34,thalamus_DA_med-lh
|
|
35
|
+
35,thalamus_DA_lat-lh
|
|
36
|
+
36,putamen_VA-lh
|
|
37
|
+
37,putamen_DA-lh
|
|
38
|
+
38,putamen_VP-lh
|
|
39
|
+
39,putamen_DP-lh
|
|
40
|
+
40,caudate_VA-lh
|
|
41
|
+
41,caudate_DA-lh
|
|
42
|
+
42,caudate_body-lh
|
|
43
|
+
43,caudate_tail-lh
|
|
44
|
+
44,amygdala_lat-lh
|
|
45
|
+
45,amygdala_med-lh
|
|
46
|
+
46,thalamus_DP-lh
|
|
47
|
+
47,accumbens_shell-lh
|
|
48
|
+
48,accumbens_core-lh
|
|
49
|
+
49,GP_post-lh
|
|
50
|
+
50,GP_ant-lh
|