subcortex-visualization 1.0.0__tar.gz → 1.2.0__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.0.0/subcortex_visualization.egg-info → subcortex_visualization-1.2.0}/PKG-INFO +41 -23
- {subcortex_visualization-1.0.0 → subcortex_visualization-1.2.0}/README.md +39 -21
- {subcortex_visualization-1.0.0 → subcortex_visualization-1.2.0}/pyproject.toml +2 -2
- {subcortex_visualization-1.0.0 → subcortex_visualization-1.2.0}/setup.py +2 -2
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/AICHA_subcortex.nii.gz +0 -0
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/AICHA_subcortex_lookup.csv +40 -0
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/Brainnetome_subcortex.nii.gz +0 -0
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/Brainnetome_subcortex_lookup.csv +36 -0
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/Melbourne_S1_subcortex.nii.gz +0 -0
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/Melbourne_S1_subcortex_lookup.csv +16 -0
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/Melbourne_S2_subcortex.nii.gz +0 -0
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/Melbourne_S2_subcortex_lookup.csv +32 -0
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/Melbourne_S3_subcortex.nii.gz +0 -0
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/Melbourne_S3_subcortex_lookup.csv +50 -0
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/Melbourne_S4_subcortex.nii.gz +0 -0
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/Melbourne_S4_subcortex_lookup.csv +54 -0
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/SUIT_cerebellar_lobule.nii.gz +0 -0
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/SUIT_cerebellar_lobule_lookup.csv +28 -0
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/Thalamus_Nuclei_HCP.nii.gz +0 -0
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/Thalamus_Nuclei_HCP_lookup.csv +14 -0
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/aseg_subcortex.nii.gz +0 -0
- subcortex_visualization-1.2.0/subcortex_visualization/atlases/aseg_subcortex_lookup.csv +14 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/AICHA_L_ordering.csv +36 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/AICHA_R_ordering.csv +36 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/AICHA_both_ordering.csv +71 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Brainnetome_L_ordering.csv +33 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Brainnetome_R_ordering.csv +33 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Brainnetome_both_ordering.csv +65 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S1_L_ordering.csv +16 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S1_R_ordering.csv +16 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S1_both_ordering.csv +31 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S2_L_ordering.csv +30 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S2_R_ordering.csv +30 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S2_both_ordering.csv +59 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S3_L.svg +1383 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S3_L_ordering.csv +43 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S3_R.svg +1383 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S3_R_ordering.csv +43 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S3_both.svg +2342 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S3_both_ordering.csv +85 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S4_L.svg +2437 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S4_L_ordering.csv +45 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S4_R.svg +1920 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S4_R_ordering.csv +45 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S4_both.svg +2898 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S4_both_ordering.csv +91 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/SUIT_cerebellar_lobule_both.svg +909 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/SUIT_cerebellar_lobule_both_ordering.csv +28 -0
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Thalamus_Nuclei_HCP_L.svg → subcortex_visualization-1.2.0/subcortex_visualization/data/Thalamus_Nuclei_HCP_L.svg +31 -31
- subcortex_visualization-1.2.0/subcortex_visualization/data/Thalamus_Nuclei_HCP_L_ordering.csv +14 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Thalamus_Nuclei_HCP_R.svg +316 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/Thalamus_Nuclei_HCP_R_ordering.csv +14 -0
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Thalamus_Nuclei_HCP_both.svg → subcortex_visualization-1.2.0/subcortex_visualization/data/Thalamus_Nuclei_HCP_both.svg +59 -59
- subcortex_visualization-1.2.0/subcortex_visualization/data/Thalamus_Nuclei_HCP_both_ordering.csv +27 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/__init__.py +0 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/aseg_L_ordering.csv +14 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/aseg_R_ordering.csv +14 -0
- subcortex_visualization-1.2.0/subcortex_visualization/data/aseg_both_ordering.csv +27 -0
- {subcortex_visualization-1.0.0 → subcortex_visualization-1.2.0}/subcortex_visualization/plotting.py +66 -17
- subcortex_visualization-1.2.0/subcortex_visualization/segmentation.py +80 -0
- subcortex_visualization-1.2.0/subcortex_visualization/utils.py +20 -0
- {subcortex_visualization-1.0.0 → subcortex_visualization-1.2.0/subcortex_visualization.egg-info}/PKG-INFO +41 -23
- subcortex_visualization-1.2.0/subcortex_visualization.egg-info/SOURCES.txt +83 -0
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_AICHA_L_ordering.csv +0 -36
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_AICHA_R_ordering.csv +0 -36
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_AICHA_both_ordering.csv +0 -71
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Brainnetome_L_ordering.csv +0 -33
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Brainnetome_R_ordering.csv +0 -33
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Brainnetome_both_ordering.csv +0 -65
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Melbourne_S1_L_ordering.csv +0 -16
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Melbourne_S1_R_ordering.csv +0 -16
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Melbourne_S1_both_ordering.csv +0 -31
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Melbourne_S2_L_ordering.csv +0 -30
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Melbourne_S2_R_ordering.csv +0 -30
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Melbourne_S2_both_ordering.csv +0 -59
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Thalamus_Nuclei_HCP_L_ordering.csv +0 -14
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Thalamus_Nuclei_HCP_R.svg +0 -316
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Thalamus_Nuclei_HCP_R_ordering.csv +0 -14
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Thalamus_Nuclei_HCP_both_ordering.csv +0 -27
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_aseg_L_ordering.csv +0 -14
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_aseg_R_ordering.csv +0 -14
- subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_aseg_both_ordering.csv +0 -27
- subcortex_visualization-1.0.0/subcortex_visualization.egg-info/SOURCES.txt +0 -48
- {subcortex_visualization-1.0.0 → subcortex_visualization-1.2.0}/LICENSE.txt +0 -0
- {subcortex_visualization-1.0.0 → subcortex_visualization-1.2.0}/MANIFEST.in +0 -0
- {subcortex_visualization-1.0.0 → subcortex_visualization-1.2.0}/setup.cfg +0 -0
- {subcortex_visualization-1.0.0 → subcortex_visualization-1.2.0}/subcortex_visualization/__init__.py +0 -0
- {subcortex_visualization-1.0.0/subcortex_visualization/data → subcortex_visualization-1.2.0/subcortex_visualization/atlases}/__init__.py +0 -0
- /subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_AICHA_L.svg → /subcortex_visualization-1.2.0/subcortex_visualization/data/AICHA_L.svg +0 -0
- /subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_AICHA_R.svg → /subcortex_visualization-1.2.0/subcortex_visualization/data/AICHA_R.svg +0 -0
- /subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_AICHA_both.svg → /subcortex_visualization-1.2.0/subcortex_visualization/data/AICHA_both.svg +0 -0
- /subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Brainnetome_L.svg → /subcortex_visualization-1.2.0/subcortex_visualization/data/Brainnetome_L.svg +0 -0
- /subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Brainnetome_R.svg → /subcortex_visualization-1.2.0/subcortex_visualization/data/Brainnetome_R.svg +0 -0
- /subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Brainnetome_both.svg → /subcortex_visualization-1.2.0/subcortex_visualization/data/Brainnetome_both.svg +0 -0
- /subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Melbourne_S1_L.svg → /subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S1_L.svg +0 -0
- /subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Melbourne_S1_R.svg → /subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S1_R.svg +0 -0
- /subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Melbourne_S1_both.svg → /subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S1_both.svg +0 -0
- /subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Melbourne_S2_L.svg → /subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S2_L.svg +0 -0
- /subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Melbourne_S2_R.svg → /subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S2_R.svg +0 -0
- /subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_Melbourne_S2_both.svg → /subcortex_visualization-1.2.0/subcortex_visualization/data/Melbourne_S2_both.svg +0 -0
- /subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_aseg_L.svg → /subcortex_visualization-1.2.0/subcortex_visualization/data/aseg_L.svg +0 -0
- /subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_aseg_R.svg → /subcortex_visualization-1.2.0/subcortex_visualization/data/aseg_R.svg +0 -0
- /subcortex_visualization-1.0.0/subcortex_visualization/data/subcortex_aseg_both.svg → /subcortex_visualization-1.2.0/subcortex_visualization/data/aseg_both.svg +0 -0
- {subcortex_visualization-1.0.0 → subcortex_visualization-1.2.0}/subcortex_visualization.egg-info/dependency_links.txt +0 -0
- {subcortex_visualization-1.0.0 → subcortex_visualization-1.2.0}/subcortex_visualization.egg-info/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: subcortex_visualization
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: A package to visualize subcortical brain data in two dimensions.
|
|
3
|
+
Version: 1.2.0
|
|
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>
|
|
7
7
|
License: GNU General Public License v3 (GPLv3)
|
|
@@ -27,30 +27,29 @@ Dynamic: license-file
|
|
|
27
27
|
|
|
28
28
|
[](https://doi.org/10.5281/zenodo.15385315)
|
|
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
|
|
|
34
34
|
More information about these atlases, including the process of rendering the surfaces and tracing the outlines for each, can be found in the [`atlas_info/`](https://github.com/anniegbryant/subcortex_visualization/tree/main/atlas_info) directory and at the [project website](https://anniegbryant.github.io/subcortex_visualization/).
|
|
35
35
|
|
|
36
|
-
|
|
37
36
|
## 🙋♀️ Motivation
|
|
38
37
|
|
|
39
|
-
This
|
|
40
|
-
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) (
|
|
41
|
-
|
|
42
|
-
The below graphic summarizes the transformation from 3D volumetric meshes to 2D surfaces, starting from the ENIGMA toolbox ('aseg' atlas, left) or a custom-rendered mesh 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 -- ('S1' granularity level, right).
|
|
43
|
-
|
|
44
|
-
<img src="docs-site/docs/images/aseg_and_Melbourne_S1_3D_to_2D_schematic.png" width="90%">
|
|
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_pipeline) for more information).
|
|
45
40
|
|
|
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.
|
|
46
42
|
|
|
47
|
-
|
|
48
|
-
Moreover, there is currently no other software available to visualize any of the other above subcortical/thalamic atlases in 2D with real data, hence development here.
|
|
43
|
+
<img src="docs-site/docs/images/Melbourne_S1_subcortical_atlas_info.png" width="90%">
|
|
49
44
|
|
|
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.
|
|
50
47
|
|
|
51
48
|
## 🖥️ Installation
|
|
52
49
|
|
|
53
|
-
|
|
50
|
+
### Python
|
|
51
|
+
|
|
52
|
+
The Python version of this package can be installed in two ways.
|
|
54
53
|
First, you can install directly with pip from the [PyPI repository](https://pypi.org/project/subcortex-visualization/):
|
|
55
54
|
|
|
56
55
|
```bash
|
|
@@ -67,11 +66,23 @@ pip install .
|
|
|
67
66
|
|
|
68
67
|
This will install the `subcortex_visualization` package so you have access to the `plot_subcortical_data` function and associated data.
|
|
69
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
|
+
|
|
70
81
|
## 👨💻 Usage
|
|
71
82
|
|
|
72
83
|
### ❗️ Quick start
|
|
73
84
|
|
|
74
|
-
Running the below
|
|
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:
|
|
75
86
|
|
|
76
87
|
```python
|
|
77
88
|
plot_subcortical_data(hemisphere='L', cmap='plasma',
|
|
@@ -84,7 +95,7 @@ plot_subcortical_data(hemisphere='L', cmap='plasma',
|
|
|
84
95
|
### 📚 Tutorial
|
|
85
96
|
|
|
86
97
|
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).
|
|
87
|
-
To plot real data in the subcortex, your `subcortex_data` should be
|
|
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):
|
|
88
99
|
|
|
89
100
|
| region | value | Hemisphere |
|
|
90
101
|
| :--- | :---: | :---: |
|
|
@@ -98,18 +109,18 @@ To plot real data in the subcortex, your `subcortex_data` should be a `pandas.D
|
|
|
98
109
|
|
|
99
110
|
Briefly, all functionality is contained within the `plot_subcortical_data` function, which takes in the following arguments:
|
|
100
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
|
|
101
|
-
* `atlas`: The name of the subcortical segmentation atlas (default is 'aseg', all options listed below)
|
|
112
|
+
* `atlas`: The name of the subcortical, thalamic, or cerebellar segmentation atlas (default is 'aseg', all options listed below)
|
|
102
113
|
* `value_column`: The name of the column in your `subcortex_data` to plot, defaults to 'value'
|
|
103
|
-
* `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
|
|
104
115
|
* `line_color`: What color the lines around each subcortical region should be (default is 'black')
|
|
105
116
|
* `hemisphere`: Which hemisphere ('L' or 'R') the `subcortex_data` is from; can also be 'both' (default is 'L')
|
|
106
117
|
* `fill_title`: Name to add to legend (default is 'values')
|
|
107
|
-
* `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
|
|
108
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
|
|
109
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
|
|
110
121
|
* `midpoint`: Midpoint value to enforce for fill range; this is optional
|
|
111
122
|
|
|
112
|
-
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):
|
|
113
124
|
|
|
114
125
|
```python
|
|
115
126
|
import matplotlib.colors as mcolors
|
|
@@ -134,31 +145,38 @@ plot_subcortical_data(subcortex_data=example_continuous_data, atlas='aseg',
|
|
|
134
145
|
|
|
135
146
|
### Available atlases
|
|
136
147
|
|
|
137
|
-
The following
|
|
148
|
+
The following nine subcortical atlases are currently supported with more information at the [project website](https://anniegbryant.github.io/subcortex_visualization/atlas_info/):
|
|
138
149
|
|
|
139
150
|
* `aseg`: The `aseg` parcellation atlas from FreeSurfer
|
|
140
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)
|
|
141
152
|
* `Melbourne_S2`: The Melbourne Subcortex Atlas at granularity level S2, from [Tian et al. *Nature Neuroscience* (2020)](https://www.nature.com/articles/s41593-020-00711-6)
|
|
153
|
+
* `Melbourne_S3`: The Melbourne Subcortex Atlas at granularity level S3, from [Tian et al. *Nature Neuroscience* (2020)](https://www.nature.com/articles/s41593-020-00711-6)
|
|
154
|
+
* `Melbourne_S4`: The Melbourne Subcortex Atlas at granularity level S4, from [Tian et al. *Nature Neuroscience* (2020)](https://www.nature.com/articles/s41593-020-00711-6)
|
|
142
155
|
* `AICHA`: The AICHA subcortex atlas, from [Joliot et al. *J Neurosci Methods* (2015)](https://pubmed.ncbi.nlm.nih.gov/26213217/).
|
|
143
156
|
* `Brainnetome`: The Brainnetome subcortex atlas, from [Fan et al. *Cerebral Cortex* (2016)](https://pmc.ncbi.nlm.nih.gov/articles/PMC4961028/)
|
|
144
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)
|
|
158
|
+
* `SUIT`: The SUIT cerebellum atlas, from [Diedrichsen *Neuroimage* (2006)](https://doi.org/10.1016/j.neuroimage.2006.05.056)
|
|
145
159
|
|
|
146
160
|
|
|
147
161
|
## 💡 Want to generate your own mesh and/or parcellation?
|
|
148
162
|
|
|
149
163
|
<img src="docs-site/docs/images/custom_vector_method.png" width="70%">
|
|
150
164
|
|
|
151
|
-
This package provides
|
|
165
|
+
This package provides nine subcortical, thalamic, and cerebellar atlases as a starting point.
|
|
152
166
|
The workflow can readily be extended to your favorite segmentation atlas, though!
|
|
153
167
|
We have a dedicated folder for a custom segmentation pipeline that will walk you through the two key steps:
|
|
154
|
-
1. Rendering a series of triangulated surface meshes from your parcellation atlas (starting from a .nii.gz volume), using
|
|
168
|
+
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
169
|
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
170
|
|
|
157
171
|
Check out the walkthrough in the [`custom_segmentation_pipeline/`](https://github.com/anniegbryant/subcortex_visualization/tree/main/custom_segmentation_pipeline) folder 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
172
|
|
|
159
173
|
## 🙏 Acknowledgments
|
|
160
174
|
|
|
161
|
-
Thank you very much to [Chris Rorden](https://github.com/rordenlab), [Ye Tian](https://github.com/yetianmed), and [Sid Chopra](https://github.com/sidchop) for their suggestions and continued development of open tools for neuroimaging visualization that enabled development of this project!
|
|
175
|
+
Thank you very much to [Chris Rorden](https://github.com/rordenlab), [Ye Tian](https://github.com/yetianmed), and [Sid Chopra](https://github.com/sidchop) for their suggestions and continued development of open tools for neuroimaging visualization that enabled the development of this project!
|
|
176
|
+
|
|
177
|
+
We're also very grateful for ongoing contributions from members of the GitHub community:
|
|
178
|
+
|
|
179
|
+
[](https://github.com/anniegbryant/subcortex_visualization/graphs/contributors)
|
|
162
180
|
|
|
163
181
|
## 🔗 Citing this package
|
|
164
182
|
|
|
@@ -2,30 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://doi.org/10.5281/zenodo.15385315)
|
|
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
|
|
|
9
9
|
More information about these atlases, including the process of rendering the surfaces and tracing the outlines for each, can be found in the [`atlas_info/`](https://github.com/anniegbryant/subcortex_visualization/tree/main/atlas_info) directory and at the [project website](https://anniegbryant.github.io/subcortex_visualization/).
|
|
10
10
|
|
|
11
|
-
|
|
12
11
|
## 🙋♀️ Motivation
|
|
13
12
|
|
|
14
|
-
This
|
|
15
|
-
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) (
|
|
16
|
-
|
|
17
|
-
The below graphic summarizes the transformation from 3D volumetric meshes to 2D surfaces, starting from the ENIGMA toolbox ('aseg' atlas, left) or a custom-rendered mesh 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 -- ('S1' granularity level, right).
|
|
18
|
-
|
|
19
|
-
<img src="docs-site/docs/images/aseg_and_Melbourne_S1_3D_to_2D_schematic.png" width="90%">
|
|
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_pipeline) for more information).
|
|
20
15
|
|
|
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.
|
|
21
17
|
|
|
22
|
-
|
|
23
|
-
Moreover, there is currently no other software available to visualize any of the other above subcortical/thalamic atlases in 2D with real data, hence development here.
|
|
18
|
+
<img src="docs-site/docs/images/Melbourne_S1_subcortical_atlas_info.png" width="90%">
|
|
24
19
|
|
|
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.
|
|
25
22
|
|
|
26
23
|
## 🖥️ Installation
|
|
27
24
|
|
|
28
|
-
|
|
25
|
+
### Python
|
|
26
|
+
|
|
27
|
+
The Python version of this package can be installed in two ways.
|
|
29
28
|
First, you can install directly with pip from the [PyPI repository](https://pypi.org/project/subcortex-visualization/):
|
|
30
29
|
|
|
31
30
|
```bash
|
|
@@ -42,11 +41,23 @@ pip install .
|
|
|
42
41
|
|
|
43
42
|
This will install the `subcortex_visualization` package so you have access to the `plot_subcortical_data` function and associated data.
|
|
44
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
|
+
|
|
45
56
|
## 👨💻 Usage
|
|
46
57
|
|
|
47
58
|
### ❗️ Quick start
|
|
48
59
|
|
|
49
|
-
Running the below
|
|
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:
|
|
50
61
|
|
|
51
62
|
```python
|
|
52
63
|
plot_subcortical_data(hemisphere='L', cmap='plasma',
|
|
@@ -59,7 +70,7 @@ plot_subcortical_data(hemisphere='L', cmap='plasma',
|
|
|
59
70
|
### 📚 Tutorial
|
|
60
71
|
|
|
61
72
|
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).
|
|
62
|
-
To plot real data in the subcortex, your `subcortex_data` should be
|
|
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):
|
|
63
74
|
|
|
64
75
|
| region | value | Hemisphere |
|
|
65
76
|
| :--- | :---: | :---: |
|
|
@@ -73,18 +84,18 @@ To plot real data in the subcortex, your `subcortex_data` should be a `pandas.D
|
|
|
73
84
|
|
|
74
85
|
Briefly, all functionality is contained within the `plot_subcortical_data` function, which takes in the following arguments:
|
|
75
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
|
|
76
|
-
* `atlas`: The name of the subcortical segmentation atlas (default is 'aseg', all options listed below)
|
|
87
|
+
* `atlas`: The name of the subcortical, thalamic, or cerebellar segmentation atlas (default is 'aseg', all options listed below)
|
|
77
88
|
* `value_column`: The name of the column in your `subcortex_data` to plot, defaults to 'value'
|
|
78
|
-
* `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
|
|
79
90
|
* `line_color`: What color the lines around each subcortical region should be (default is 'black')
|
|
80
91
|
* `hemisphere`: Which hemisphere ('L' or 'R') the `subcortex_data` is from; can also be 'both' (default is 'L')
|
|
81
92
|
* `fill_title`: Name to add to legend (default is 'values')
|
|
82
|
-
* `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
|
|
83
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
|
|
84
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
|
|
85
96
|
* `midpoint`: Midpoint value to enforce for fill range; this is optional
|
|
86
97
|
|
|
87
|
-
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):
|
|
88
99
|
|
|
89
100
|
```python
|
|
90
101
|
import matplotlib.colors as mcolors
|
|
@@ -109,31 +120,38 @@ plot_subcortical_data(subcortex_data=example_continuous_data, atlas='aseg',
|
|
|
109
120
|
|
|
110
121
|
### Available atlases
|
|
111
122
|
|
|
112
|
-
The following
|
|
123
|
+
The following nine subcortical atlases are currently supported with more information at the [project website](https://anniegbryant.github.io/subcortex_visualization/atlas_info/):
|
|
113
124
|
|
|
114
125
|
* `aseg`: The `aseg` parcellation atlas from FreeSurfer
|
|
115
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)
|
|
116
127
|
* `Melbourne_S2`: The Melbourne Subcortex Atlas at granularity level S2, from [Tian et al. *Nature Neuroscience* (2020)](https://www.nature.com/articles/s41593-020-00711-6)
|
|
128
|
+
* `Melbourne_S3`: The Melbourne Subcortex Atlas at granularity level S3, from [Tian et al. *Nature Neuroscience* (2020)](https://www.nature.com/articles/s41593-020-00711-6)
|
|
129
|
+
* `Melbourne_S4`: The Melbourne Subcortex Atlas at granularity level S4, from [Tian et al. *Nature Neuroscience* (2020)](https://www.nature.com/articles/s41593-020-00711-6)
|
|
117
130
|
* `AICHA`: The AICHA subcortex atlas, from [Joliot et al. *J Neurosci Methods* (2015)](https://pubmed.ncbi.nlm.nih.gov/26213217/).
|
|
118
131
|
* `Brainnetome`: The Brainnetome subcortex atlas, from [Fan et al. *Cerebral Cortex* (2016)](https://pmc.ncbi.nlm.nih.gov/articles/PMC4961028/)
|
|
119
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)
|
|
133
|
+
* `SUIT`: The SUIT cerebellum atlas, from [Diedrichsen *Neuroimage* (2006)](https://doi.org/10.1016/j.neuroimage.2006.05.056)
|
|
120
134
|
|
|
121
135
|
|
|
122
136
|
## 💡 Want to generate your own mesh and/or parcellation?
|
|
123
137
|
|
|
124
138
|
<img src="docs-site/docs/images/custom_vector_method.png" width="70%">
|
|
125
139
|
|
|
126
|
-
This package provides
|
|
140
|
+
This package provides nine subcortical, thalamic, and cerebellar atlases as a starting point.
|
|
127
141
|
The workflow can readily be extended to your favorite segmentation atlas, though!
|
|
128
142
|
We have a dedicated folder for a custom segmentation pipeline that will walk you through the two key steps:
|
|
129
|
-
1. Rendering a series of triangulated surface meshes from your parcellation atlas (starting from a .nii.gz volume), using
|
|
143
|
+
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
144
|
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
145
|
|
|
132
146
|
Check out the walkthrough in the [`custom_segmentation_pipeline/`](https://github.com/anniegbryant/subcortex_visualization/tree/main/custom_segmentation_pipeline) folder 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
147
|
|
|
134
148
|
## 🙏 Acknowledgments
|
|
135
149
|
|
|
136
|
-
Thank you very much to [Chris Rorden](https://github.com/rordenlab), [Ye Tian](https://github.com/yetianmed), and [Sid Chopra](https://github.com/sidchop) for their suggestions and continued development of open tools for neuroimaging visualization that enabled development of this project!
|
|
150
|
+
Thank you very much to [Chris Rorden](https://github.com/rordenlab), [Ye Tian](https://github.com/yetianmed), and [Sid Chopra](https://github.com/sidchop) for their suggestions and continued development of open tools for neuroimaging visualization that enabled the development of this project!
|
|
151
|
+
|
|
152
|
+
We're also very grateful for ongoing contributions from members of the GitHub community:
|
|
153
|
+
|
|
154
|
+
[](https://github.com/anniegbryant/subcortex_visualization/graphs/contributors)
|
|
137
155
|
|
|
138
156
|
## 🔗 Citing this package
|
|
139
157
|
|
|
@@ -4,11 +4,11 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "subcortex_visualization"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.2.0"
|
|
8
8
|
authors = [
|
|
9
9
|
{ name="Annie G. Bryant", email="anniegbryant@gmail.com" },
|
|
10
10
|
]
|
|
11
|
-
description = "A package to visualize subcortical brain data in two dimensions."
|
|
11
|
+
description = "A package to visualize subcortical and cerebellar brain data in two dimensions."
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
requires-python = ">=3.9"
|
|
14
14
|
|
|
@@ -10,13 +10,13 @@ install_requires = [
|
|
|
10
10
|
|
|
11
11
|
setup(
|
|
12
12
|
name='subcortex_visualization',
|
|
13
|
-
version='
|
|
13
|
+
version='1.2.0',
|
|
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.0/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.0/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.0/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.0/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
|
|
Binary file
|
subcortex_visualization-1.2.0/subcortex_visualization/atlases/Melbourne_S4_subcortex_lookup.csv
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
1,hippocampus_head_med_1-rh
|
|
2
|
+
2,hippocampus_head_med_2-rh
|
|
3
|
+
3,thalamus_VA_inf_post-rh
|
|
4
|
+
4,thalamus_VA_inf_ant-rh
|
|
5
|
+
5,hippocampus_head_lat-rh
|
|
6
|
+
6,hippocampus_body-rh
|
|
7
|
+
7,hippocampus_tail-rh
|
|
8
|
+
8,thalamus_VP_med-rh
|
|
9
|
+
9,thalamus_VP_lat-rh
|
|
10
|
+
10,thalamus_VA_sup-rh
|
|
11
|
+
11,thalamus_DA_med-rh
|
|
12
|
+
12,thalamus_DA_lat-rh
|
|
13
|
+
13,putamen_VA-rh
|
|
14
|
+
14,putamen_DA-rh
|
|
15
|
+
15,putamen_VP-rh
|
|
16
|
+
16,putamen_DP-rh
|
|
17
|
+
17,caudate_VA-rh
|
|
18
|
+
18,caudate_DA-rh
|
|
19
|
+
19,caudate_body-rh
|
|
20
|
+
20,caudate_tail-rh
|
|
21
|
+
21,amygdala_lat-rh
|
|
22
|
+
22,amygdala_med-rh
|
|
23
|
+
23,thalamus_DP-rh
|
|
24
|
+
24,accumbens_shell-rh
|
|
25
|
+
25,accumbens_core-rh
|
|
26
|
+
26,GP_post-rh
|
|
27
|
+
27,GP_ant-rh
|
|
28
|
+
28,hippocampus_head_med_1-lh
|
|
29
|
+
29,hippocampus_head_med_2-lh
|
|
30
|
+
30,thalamus_VA_inf_post-lh
|
|
31
|
+
31,thalamus_VA_inf_ant-lh
|
|
32
|
+
32,hippocampus_head_lat-lh
|
|
33
|
+
33,hippocampus_body-lh
|
|
34
|
+
34,hippocampus_tail-lh
|
|
35
|
+
35,thalamus_VP_med-lh
|
|
36
|
+
36,thalamus_VP_lat-lh
|
|
37
|
+
37,thalamus_VA_sup-lh
|
|
38
|
+
38,thalamus_DA_med-lh
|
|
39
|
+
39,thalamus_DA_lat-lh
|
|
40
|
+
40,putamen_VA-lh
|
|
41
|
+
41,putamen_DA-lh
|
|
42
|
+
42,putamen_VP-lh
|
|
43
|
+
43,putamen_DP-lh
|
|
44
|
+
44,caudate_VA-lh
|
|
45
|
+
45,caudate_DA-lh
|
|
46
|
+
46,caudate_body-lh
|
|
47
|
+
47,caudate_tail-lh
|
|
48
|
+
48,amygdala_lat-lh
|
|
49
|
+
49,amygdala_med-lh
|
|
50
|
+
50,thalamus_DP-lh
|
|
51
|
+
51,accumbens_shell-lh
|
|
52
|
+
52,accumbens_core-lh
|
|
53
|
+
53,GP_post-lh
|
|
54
|
+
54,GP_ant-lh
|
|
Binary file
|
subcortex_visualization-1.2.0/subcortex_visualization/atlases/SUIT_cerebellar_lobule_lookup.csv
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
1,IV-lh
|
|
2
|
+
2,IV-rh
|
|
3
|
+
3,V-lh
|
|
4
|
+
4,V-rh
|
|
5
|
+
5,VI-lh
|
|
6
|
+
6,VI-vermis
|
|
7
|
+
7,VI-rh
|
|
8
|
+
8,Crus_I-lh
|
|
9
|
+
9,Crus_I-vermis
|
|
10
|
+
10,Crus_I-rh
|
|
11
|
+
11,Crus_II-lh
|
|
12
|
+
12,Crus_II-vermis
|
|
13
|
+
13,Crus_II-rh
|
|
14
|
+
14,VIIb-lh
|
|
15
|
+
15,VIIb-vermis
|
|
16
|
+
16,VIIb-rh
|
|
17
|
+
17,VIIIa-lh
|
|
18
|
+
18,VIIIa-vermis
|
|
19
|
+
19,VIIIa-rh
|
|
20
|
+
20,VIIIb-lh
|
|
21
|
+
21,VIIIb-vermis
|
|
22
|
+
22,VIIIb-rh
|
|
23
|
+
23,IX-lh
|
|
24
|
+
24,IX-vermis
|
|
25
|
+
25,IX-rh
|
|
26
|
+
26,X-lh
|
|
27
|
+
27,X-vermis
|
|
28
|
+
28,X-rh
|
|
Binary file
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
1,Pulvinar-lh
|
|
2
|
+
2,Anterior-lh
|
|
3
|
+
3,Medio_Dorsal-lh
|
|
4
|
+
4,Ventral_Latero_Dorsal-lh
|
|
5
|
+
5,Central_Lateral-Lateral_Posterior-Medial_Pulvinar-lh
|
|
6
|
+
6,Ventral_Anterior-lh
|
|
7
|
+
7,Ventral_Latero_Ventral-lh
|
|
8
|
+
8,Pulvinar-rh
|
|
9
|
+
9,Anterior-rh
|
|
10
|
+
10,Medio_Dorsal-rh
|
|
11
|
+
11,Ventral_Latero_Dorsal-rh
|
|
12
|
+
12,Central_Lateral-Lateral_Posterior-Medial_Pulvinar-rh
|
|
13
|
+
13,Ventral_Anterior-rh
|
|
14
|
+
14,Ventral_Latero_Ventral-rh
|
|
Binary file
|