You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .zenodo.json
+24-4
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,34 @@
1
1
{
2
2
"creators": [
3
3
{
4
-
"affiliation": "Montreal Neurological Institute and Hospital",
4
+
"name": "Notter, Michael Philipp",
5
+
"affiliation": "The Laboratory for Investigative Neurophysiology (The LINE), Department of Radiology and Department of Clinical Neurosciences, Lausanne, Switzerland; Center for Biomedical Imaging (CIBM), Lausanne, Switzerland",
6
+
"orcid": "0000-0002-5866-047X"
7
+
},
8
+
{
9
+
"name": "Gale, Dan",
10
+
"affiliation": "Centre for Neuroscience Studies, Queen's University, Kingston, Canada",
11
+
"orcid": "0000-0002-9082-1659"
12
+
},
13
+
{
14
+
"name": "Herholz, Peer",
15
+
"affiliation": "Laboratory for Multimodal Neuroimaging, Philipps-University Marburg, Hesse, Germany; International Laboratory for Brain, Music and Sound Research, Université de Montréal & McGill University, Montréal, Canada",
16
+
"orcid": "0000-0002-9840-6257"
17
+
},
18
+
{
5
19
"name": "Markello, Ross",
20
+
"affiliation": "McConnell Brain Imaging Centre, Montréal Neurological Institute, McGill University, Montréal, Canada",
6
21
"orcid": "0000-0003-1057-1336"
7
22
},
8
23
{
9
-
"affiliation": "The Laboratory for Investigative Neurophysiology (The LINE), Department of Radiology and Department of Clinical Neurosciences, Lausanne, Switzerland; Center for Biomedical Imaging (CIBM), Lausanne, Switzerland",
10
-
"name": "Notter, Michael P.",
11
-
"orcid": "0000-0002-5866-047X"
24
+
"name": "Notter-Bielser, Marie-Laure",
25
+
"affiliation": "Centre Leenaards de la Mémoire, Centre Hospitalier Universitaire Vaudois, Lausanne, Switzerland",
26
+
"orcid": "0000-0001-5507-4304"
27
+
},
28
+
{
29
+
"name": "Whitaker, Kirstie",
30
+
"affiliation": "Alan Turing Institute, London, UK; Department of Psychiatry, University of Cambridge, Cambridge, UK",
Copy file name to clipboardexpand all lines: README.md
+59-61
Original file line number
Diff line number
Diff line change
@@ -9,17 +9,42 @@
9
9
10
10
# AtlasReader
11
11
12
-
This package provides a Python interface for generating coordinate tables and region labels from statistical MRI images.
12
+
This package provides a Python interface for generating coordinate tables and
13
+
region labels from statistical MRI images.
13
14
14
15
If you are using `atlasreader` in your publication, please cite the following paper:
15
16
16
-
Markello R., Gale D., Herholz P., Whitaker K., & Notter M. P. (2019). AtlasReader: Quick generation of coordinate tables and region labels for statistical MRI images. *The Journal of Open Source Software*, ZZZ, YYY.
17
+
Notter M. P., Gale D., Herholz P., Markello R. D., Notter-Bielser M.-L., & Whitaker K. (2019). AtlasReader: A Python package to generate coordinate tables, region labels, and informative figures from statistical MRI images. *The Journal of Open Source Software*, ZZZ, YYY.
17
18
18
19
***TODO: This reference needs to be updated after paper is published. Don't forget to add the DOI and link to the paper.***
19
20
21
+
22
+
## Installation
23
+
24
+
This package requires Python >= 3.6. Provided you have `pip` at your disposal,
25
+
installing `atlasreader` is as simple as this:
26
+
27
+
```bash
28
+
pip install atlasreader
29
+
```
30
+
31
+
If you want to build `atlasreader` directly from source code, use the
`atlasreader` can either be run through the command line interface or directly within Python. The commands to do so are rather straight forward. Let's say you want to apply `atlasreader` to a statistical image called `file_name = 'stat_img.nii'`, and only want to keep clusters if they have more than 5 voxels:
43
+
`atlasreader` can either be run through the command line interface or directly
44
+
within Python. The commands to do so are rather straight forward. Let's say you
45
+
want to apply `atlasreader` to a statistical image called
46
+
`file_name = 'stat_img.nii'`, and only want to keep clusters if they have more
47
+
than 5 voxels:
23
48
24
49
#### Python
25
50
```python
@@ -38,45 +63,31 @@ atlasreader file_name 5
38
63
After executing `atlasreader` on a given image, four kinds of outputs are generated:
39
64
40
65
1. An **overview figure** that shows the results within the whole brain at once
41
-

42
-
43
-
2.**For each cluster**, an **informative figure** showing the sagittal, coronal and transversal plane centered at this center of the cluster
44
-

45
-
46
-
3. A **csv file** containing relevant information about the **peak** of each cluster. This table contains the location of each cluster's peak, it's signal value at this location, the cluster extent (in mm, not in number of voxels) and the atlas correspondence of the peak.
4. A **csv** file containing relevant information about each **cluster**. This table contains the location of each cluster's peak, the mean value within the cluster, the cluster extend (in mm, not in number of voxels), as well as the membership of each cluster, given a particular atlas.
2.**For each cluster**, an **informative figure** showing the sagittal, coronal
69
+
and transversal plane centered on the main peak of the cluster
70
+

71
+
72
+
3. A **csv file** containing relevant information about the **peak** of each
73
+
cluster. This table contains the cluster association and location of each
74
+
peak, its signal value at this location, the cluster extent (in mm, not in
75
+
number of voxels), as well as the membership of each peak, given a
76
+
particular atlas.
77
+

78
+
79
+
4. A **csv** file containing relevant information about each **cluster**. Table
80
+
showing relevant information for the cluster extent of each ROI. This table
81
+
contains the cluster association and location of each peak, the mean value
82
+
within the cluster, the cluster extent (in mm, not in number of voxels), as
83
+
well as the membership of each cluster, given a particular atlas.
84
+

75
85
76
86
77
87
### Additional parameters
78
88
79
-
`atlasreader` has many additional parameters that allow you to change the way the clusters are generated and what kind of outputs are generated:
89
+
`atlasreader` has many additional parameters that allow you to change the way
90
+
the clusters are generated and what kind of outputs are generated:
80
91
81
92
-**filename**: Niimg_like
82
93
A 3D statistical image.
@@ -103,37 +114,24 @@ After executing `atlasreader` on a given image, four kinds of outputs are genera
103
114
-**stat_plot_kws**: dict or None, optional
104
115
Additional keyword arguments to pass to `nilearn.plotting.plot_stat_map`.
105
116
106
-
For a more detailed explanation about the toolbox and the effect of the parameters above, see the [example notebook](https://github.com/miykael/atlasreader/blob/master/notebooks/atlasreader.ipynb).
107
-
108
-
109
-
## Installation
110
-
111
-
This package requires Python >= 3.6. Provided you have `pip` at your disposal,
112
-
installing `atlasreader` is as simple as this:
113
-
114
-
```bash
115
-
pip install atlasreader
116
-
```
117
-
118
-
If you want to build `atlasreader` directly from source code, use the
For a more detailed explanation about the toolbox and the effect of the
118
+
parameters above, see the [example notebook](https://github.com/miykael/atlasreader/blob/master/notebooks/atlasreader.ipynb).
126
119
127
120
128
121
## How to get involved
129
122
130
123
We're thrilled to welcome new contributors!
131
124
132
-
If you're interested in getting involved, you should start by reading our [contributing guidelines](CONTRIBUTING.md).
125
+
If you're interested in getting involved, you should start by reading our
126
+
[contributing guidelines](CONTRIBUTING.md).
133
127
134
-
Once you're done with that, you can take a look at our list of active [issues](https://github.com/rmarkello/pyls/issues) and let us know if there's something you'd like to begin working on.
128
+
Once you're done with that, you can take a look at our list of active
129
+
[issues](https://github.com/miykael/atlasreader/issues) and let us know if
130
+
there's something you'd like to begin working on.
135
131
136
-
If you've found a bug, are experiencing a problem, or have a question, create a new [issue](https://github.com/miykael/atlasreader/issues) with some information about it!
132
+
If you've found a bug, are experiencing a problem, or have a question, create a
133
+
new [issue](https://github.com/miykael/atlasreader/issues) with some information
Copy file name to clipboardexpand all lines: notebooks/atlasreader.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@
50
50
"\n",
51
51
"If you use `atlasreader` in your publication, please cite the following paper:\n",
52
52
"\n",
53
-
" Markello R., Gale D., Herholz P., Whitaker K., & Notter M. P. (2019). AtlasReader: Quick generation of coordinate tables and region labels for statistical MRI images. The Journal of Open Source Software, ZZZ, YYY.\n",
53
+
" Notter M. P., Gale D., Herholz P., Markello R. D., Notter-Bielser M.-L., & Whitaker K. (2019). AtlasReader: A Python package to generate coordinate tables, region labels, and informative figures from statistical MRI images. *The Journal of Open Source Software*, ZZZ, YYY.\n",
54
54
"\n",
55
55
"**TODO: This reference needs to be updated after paper is published. Don't forget to add the DOI and link to the paper.**"
abstract = {Matplotlib is a 2D graphics package used for Python
9
+
for application development, interactive scripting, and
10
+
publication-quality image generation across user
11
+
interfaces and operating systems.},
12
+
publisher = {IEEE COMPUTER SOC},
13
+
doi = {10.1109/MCSE.2007.55},
14
+
year = 2007
15
+
}
16
+
@article{fonov2011unbiased,
17
+
title={Unbiased average age-appropriate atlases for pediatric studies},
18
+
author={Fonov, Vladimir and Evans, Alan C and Botteron, Kelly and Almli, C Robert and McKinstry, Robert C and Collins, D Louis and Brain Development Cooperative Group and others},
19
+
journal={Neuroimage},
20
+
volume={54},
21
+
number={1},
22
+
pages={313--327},
23
+
year={2011},
24
+
publisher={Elsevier},
25
+
doi= {10.1016/j.neuroimage.2010.07.033},
26
+
}
27
+
@article{nibabel,
28
+
author = {Matthew Brett and
29
+
Michael Hanke and
30
+
Chris Markiewicz and
31
+
Marc-Alexandre Côté and
32
+
Paul McCarthy and
33
+
Satrajit Ghosh and
34
+
Demian Wassermann and
35
+
Stephan Gerhard and
36
+
Yaroslav Halchenko and
37
+
Eric Larson and
38
+
Gregory R. Lee and
39
+
Erik Kastman and
40
+
Cindee M and
41
+
Félix C. Morency and
42
+
moloney and
43
+
Ariel Rokem and
44
+
Michiel Cottaar and
45
+
Jarrod Millman and
46
+
Ross Markello and
47
+
jaeilepp and
48
+
Chris Cheng and
49
+
Alexandre Gramfort and
50
+
Robert D Vincent and
51
+
Jasper J.F. van den Bosch and
52
+
Krish Subramaniam and
53
+
Pradeep Reddy Raamana and
54
+
Mathias Goncalves and
55
+
Nolan Nichols and
56
+
embaker and
57
+
Basile},
58
+
title = {nibabel: Access a cacophony of neuro-imaging file formats, version 2.3.0},
59
+
month = jun,
60
+
year = 2018,
61
+
doi = {10.5281/zenodo.1287921},
62
+
url = {https://doi.org/10.5281/zenodo.1287921}
63
+
}
64
+
@article{nilearn,
65
+
title={Machine learning for neuroimaging with scikit-learn},
66
+
author={Abraham, Alexandre and Pedregosa, Fabian and Eickenberg, Michael and Gervais, Philippe and Mueller, Andreas and Kossaifi, Jean and Gramfort, Alexandre and Thirion, Bertrand and Varoquaux, Ga{\"e}l},
67
+
journal={Frontiers in neuroinformatics},
68
+
volume={8},
69
+
pages={14},
70
+
year={2014},
71
+
publisher={Frontiers},
72
+
doi={10.3389/fninf.2014.00014},
73
+
}
74
+
@article{numpy,
75
+
title = {Python for scientific computing},
76
+
author = {Oliphant, Travis E},
77
+
journal = {Computing in Science \& Engineering},
78
+
volume = {9},
79
+
number = {3},
80
+
year = {2007},
81
+
doi = {10.1109/MCSE.2007.58},
82
+
publisher = {IEEE}
83
+
}
84
+
@inproceedings{pandas,
85
+
title={Data structures for statistical computing in python},
86
+
author={McKinney, Wes and others},
87
+
booktitle={Proceedings of the 9th Python in Science Conference},
88
+
volume={445},
89
+
pages={51--56},
90
+
year={2010},
91
+
doi={10.3389/fninf.2014.00014},
92
+
organization={Austin, TX}
93
+
}
94
+
@article{scipy,
95
+
author = {Eric Jones and Travis Oliphant and Pearu Peterson and others},
96
+
title = {{SciPy}: Open source scientific tools for {Python}},
97
+
year = {2001--},
98
+
url = "http://www.scipy.org/",
99
+
note = {[Online; accessed 24. Sept. 2018]}
100
+
}
101
+
@article{scikitlearn,
102
+
title={Scikit-learn: Machine learning in Python},
103
+
author={Pedregosa, Fabian and Varoquaux, Ga{\"e}l and Gramfort, Alexandre and Michel, Vincent and Thirion, Bertrand and Grisel, Olivier and Blondel, Mathieu and Prettenhofer, Peter and Weiss, Ron and Dubourg, Vincent and others},
104
+
journal={Journal of machine learning research},
105
+
volume={12},
106
+
number={Oct},
107
+
pages={2825--2830},
108
+
year={2011}
109
+
}
110
+
@article{scikitimage,
111
+
title={scikit-image: image processing in Python},
112
+
author={Van der Walt, Stefan and Sch{\"o}nberger, Johannes L and Nunez-Iglesias, Juan and Boulogne, Fran{\c{c}}ois and Warner, Joshua D and Yager, Neil and Gouillart, Emmanuelle and Yu, Tony},
0 commit comments