Skip to content

Commit

Permalink
Merge pull request #30 from nikhil153/gh-pages
Browse files Browse the repository at this point in the history
fixed paths in statistical analysis
  • Loading branch information
nikhil153 authored May 25, 2021
2 parents e6e01fe + a7a9208 commit ad787cc
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 42 deletions.
56 changes: 28 additions & 28 deletions _episodes/06-Statistical_Analysis.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion code/4_sMRI_segmentation_quantification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3187,4 +3187,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}
Binary file added fig/episode_4/Course_flow_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fig/episode_6/Course_flow_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fig/episode_7/Course_flow_7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fig/index/Course_flow_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
awscli==1.18.101
numpy
matplotlib
nibabel
nilearn==0.7.0
pandas
pybids==0.11.1
seaborn
scipy
scikit-learn
jupyter
19 changes: 6 additions & 13 deletions setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ For easy set-up we recommend [Anaconda](https://www.anaconda.com/download/) to m
4. Click **Create** then type in <code>SDC-BIDS-sMRI</code>
5. In the <code>SDC-BIDS-sMRI</code> entry click the play button then click **Open Terminal**
6. In terminal type:

```
conda install -y numpy pandas scipy scikit-learn matplotlib jupyter ipykernel nb_conda
conda install -y -c conda-forge awscli
Expand All @@ -56,10 +57,11 @@ source activate $(pwd)/SDC_sMRI_workshop_2021
conda install numpy pandas scipy scikit-learn matplotlib jupyter ipykernel nb_conda
conda install -c conda-forge awscli
pip install nilearn nibabel
```
#### Method 2: Using pyenv (my favourite) [Linux, MacOS]

### Method 2: Using pyenv [Linux, MacOS]
An alternative method uses [pyenv](https://github.com/pyenv/pyenv) with [pyenv virtualenv](https://github.com/pyenv/pyenv-virtualenv). This is a favourite because it seamlessly integrates multiple python versions and environments into your system while maintaining use of pip (instead of conda).

```
cd SDC-BIDS-sMRI
pyenv virtualenv 3.6.0 SDC_sMRI_workshop_2021
Expand All @@ -68,11 +70,10 @@ pip install --requirement requirements.txt
```

## Acquiring the data
Most data (small files) are in the ./local_data dir
#TODO: Add download snippets for openneuro and aws
Most data (small files) needed for notebook examples are in the ./local_data dir

```
Finally open up the jupyter notebook to explore the tutorials:

```
cd SDC-BIDS-sMRI
Expand All @@ -82,13 +83,5 @@ source activate $(pwd)/SDC_sMRI_workshop_2021
jupyter notebook
```

**Reference**
[1] Gorgolewski KJ, Durnez J and Poldrack RA. Preprocessed Consortium for Neuropsychiatric Phenomics dataset [version 2; referees: 2 approved]. F1000Research 2017, 6:1262
(https://doi.org/10.12688/f1000research.11964.2)
{% include links.md %}

{% include links.md %}

0 comments on commit ad787cc

Please sign in to comment.