|
1 | 1 | {
|
2 | 2 | "cells": [
|
| 3 | + { |
| 4 | + "cell_type": "markdown", |
| 5 | + "id": "69c306a1-f24a-410a-b034-f002bc0b7a97", |
| 6 | + "metadata": {}, |
| 7 | + "source": [ |
| 8 | + "# Neurosynth Compose Notebook\n", |
| 9 | + "\n", |
| 10 | + "After you've built your meta-analysis on neurosynth compose, you can use this notebook to execute and view the meta-analytic results.\n", |
| 11 | + "All you need is to " |
| 12 | + ] |
| 13 | + }, |
3 | 14 | {
|
4 | 15 | "cell_type": "code",
|
5 |
| - "execution_count": null, |
| 16 | + "execution_count": 1, |
6 | 17 | "id": "28d0e8b6-9bbd-4256-a19a-ff36eeca5cfd",
|
7 | 18 | "metadata": {},
|
8 | 19 | "outputs": [],
|
9 | 20 | "source": [
|
| 21 | + "#@title 1) Run once to install NiMARE (~1 minute)\n", |
| 22 | + "%%capture --no-display --no-stderr\n", |
10 | 23 | "%%bash\n",
|
| 24 | + "wget https://raw.githubusercontent.com/neurostuff/neurosynth-compose-notebook/main/requirements.txt\n", |
11 | 25 | "pip install -r requirements.txt"
|
12 | 26 | ]
|
13 | 27 | },
|
|
16 | 30 | "id": "37860b1b-5031-4bd7-8e86-c668f545126b",
|
17 | 31 | "metadata": {},
|
18 | 32 | "source": [
|
19 |
| - "## INSERT YOUR META-ANALYSIS ID HERE" |
| 33 | + "## INSERT YOUR META-ANALYSIS ID HERE\n", |
| 34 | + "\n", |
| 35 | + "This is the id for your specific meta-analysis" |
20 | 36 | ]
|
21 | 37 | },
|
22 | 38 | {
|
|
26 | 42 | "metadata": {},
|
27 | 43 | "outputs": [],
|
28 | 44 | "source": [
|
29 |
| - "META_ID = \"3SD2A7LGuQTm\"" |
| 45 | + "#@title 2) Set your Neurosynth-Compose Meta-Analysis ID { run: \"auto\" }\n", |
| 46 | + "\n", |
| 47 | + "META_ID = None # for example: \"8dJ6tG7wfbyS\"" |
| 48 | + ] |
| 49 | + }, |
| 50 | + { |
| 51 | + "cell_type": "markdown", |
| 52 | + "id": "7dccf070-a1cc-4471-97f1-d386374a80df", |
| 53 | + "metadata": {}, |
| 54 | + "source": [ |
| 55 | + "## Run your selected Meta-Analysis\n", |
| 56 | + "\n", |
| 57 | + "A workflow in NiMARE will interpret the meta-analysis you specified and\n", |
| 58 | + "run the selected algorithm and corrector (optional) on the studyset selected." |
30 | 59 | ]
|
31 | 60 | },
|
32 | 61 | {
|
|
36 | 65 | "metadata": {},
|
37 | 66 | "outputs": [],
|
38 | 67 | "source": [
|
39 |
| - "from nimare.workflows import compose_run\n", |
40 |
| - "from nilearn.plotting import plot_stat_map" |
| 68 | + "from nimare.workflows import compose_run # special workflow to run meta-analysis" |
41 | 69 | ]
|
42 | 70 | },
|
43 | 71 | {
|
|
61 | 89 | },
|
62 | 90 | "source": [
|
63 | 91 | "## Choose which statistical map to investigate\n",
|
64 |
| - "default is z map, but each estimator/corrector combination may generate corrected/more appropriate statistical maps for summary/investigation" |
| 92 | + "\n", |
| 93 | + "The Default is the z map, but each estimator/corrector combination may generate\n", |
| 94 | + "corrected/more appropriate statistical maps for investigation." |
| 95 | + ] |
| 96 | + }, |
| 97 | + { |
| 98 | + "cell_type": "code", |
| 99 | + "execution_count": null, |
| 100 | + "id": "347e806d-a264-416e-8d52-8f9574bd3a58", |
| 101 | + "metadata": {}, |
| 102 | + "outputs": [], |
| 103 | + "source": [ |
| 104 | + "from nilearn.plotting import plot_stat_map # display statistical images" |
65 | 105 | ]
|
66 | 106 | },
|
67 | 107 | {
|
|
101 | 141 | "id": "b43d40b3-9c1d-490c-a3a2-173e04755932",
|
102 | 142 | "metadata": {},
|
103 | 143 | "source": [
|
104 |
| - "## Investigate what studies contributed to which clusters" |
| 144 | + "## Investigate what studies contributed to which clusters\n", |
| 145 | + "\n", |
| 146 | + "Dive into your results to discover which analyses are driving your results." |
105 | 147 | ]
|
106 | 148 | },
|
107 | 149 | {
|
|
0 commit comments