Skip to content

Commit 1ac5a76

Browse files
authored
Merge pull request #10 from neurostuff/mkda
MKDA Chi Squared tutorial, December blog post, and How to run instructions
2 parents 244b8cf + eb89aac commit 1ac5a76

30 files changed

+342
-71
lines changed

blog/2024-1-2-new-year.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
title: New Year Updates
3+
authors: alejandro
4+
tags: [neurosynth]
5+
---
6+
Hello Neurosynth Users,
7+
8+
Happy New Year!
9+
10+
2023 was a very exciting year for Neurosynth, having launched our Compose platform to the public and announced it on social media. In the December we’ve saw **over 500 new user visits**, with **200 users signing up for an account**! 🚀
11+
12+
Help us keep this growth going by [sharing our announcement](./blog/announcing-ns-compose) with your colleagues. 🧑‍🔬
13+
14+
# 🌟 What’s New 🌟
15+
16+
We’ve also continued to introduce new features and improve the user experience. Here’s some highlights:
17+
18+
### Large-scale association tests
19+
20+
A key feature that set Neurosynth aside were large-scale association maps (previously known as “reverse inference”).
21+
22+
Whereas a typical meta-analysis tells you if activity is consistently reported in a target set of studies, an association test tells you if **activation occurs more consistently in this set of studies versus a large and diverse reference sample**.
23+
24+
That's important, because this allows you to control for base rate differences between regions. Certain regions, such as the insula or lateral PFC for instance, play a very broad role in cognition, and hence are consistently activated for many different tasks and cognitive states. Thus, if you see insula activity in your meta-analysis, you might erroneously conclude that the insula is involved in the cognitive state you're studying. A large-scale association test lets you determine if the activity you observe in a region occurs *more consistently* in your meta-analysis than in other studies, making it possible to make more confident claims that a given region is involved in a particular process, and isn't involved in just about every task.
25+
26+
Previously association tests were available for the automatically generated maps on neurosynth.org. **Now you can perform large-scale association tests for your custom meta-analyses in Neurosynth Compose.**
27+
28+
We have created a full primer and tutorial on MKDA Chi-Squared, including an example from a recent meta-analysis on social processing. Check it out!
29+
30+
import Button from '@mui/material/Button';
31+
32+
<Button variant="contained" color="primary" href='tutorial/advanced/mkda_association'>
33+
MKDA Chi-Squared Tutorial 🧑‍🎓
34+
</Button>
35+
36+
### UX Enhancements ✨
37+
38+
Based on your valuable feedback, we've made numerous bug fixes and improvements:
39+
40+
* **Simplified Curation**: The review import page has been removed, and summary information is now added directly to the tag step.
41+
42+
* **Searching UI**: We've replaced the dropdown with a selection gallery, making it easier to choose your preferred search method, and we now auto-generate search import names. In addition, resolving duplicates is skipped if none are present.
43+
44+
* **Improved Editing Workflow**: The editing interface has been improved, streamlining the extraction process.
45+
46+
* **Various UX Improvements and Fixes**: We fixed many papercuts, especially in the *Extraction* phase.
47+
48+
49+
We hope you enjoy these changes.
50+
51+
Email us any [feedback](mailto:[email protected]), or ask a question on [NeuroStars](https://neurostars.org/tag/neurosynth-compose) if you have issues.
52+
53+
54+
Cheers,
55+
56+
The Neurosynth Team 🧠
File renamed without changes.

docs/guide/Explore/index.mdx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: Explore
3+
sidebar_position: 1
4+
---
5+
6+
# Explore
7+
8+
Here, you can browse and search existing public `Studies`, `StudySets` and `Meta-Analyses` created on the platform.
9+
10+
## Studies
11+
12+
The `Studies` page lets you browse and search all studies that exist on the NeuroStore server. This interface is similar to what you'll see when importing studies into your `Project`. However, here it's simply provided for your browsing pleasure.
13+
14+
For more information on how advanced search functionally, see [Searching Studies](./Explore/Searching)
15+
16+
## StudySets and Meta-Analyses
17+
18+
For `StudySets` and `Meta-Analyses`, you can browse and search any user-contributed items, including those from other users.
19+
20+
Note that although you see all publically available items, you cannot edit somebody else's content.
21+
22+
:::note
23+
We are currently working on a way to allow users to fork other users' `StudySets` and `Meta-Analyses` to create their own versions.
24+
Stay tuned!
25+
::::
26+
File renamed without changes.

docs/guide/walkthrough/Project/Extraction.md renamed to docs/guide/Project/Extraction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ After the curation phase is complete, the user is redirected to the extraction p
1515
Here, the extraction phase starts when
1616
a wizard that pops up and guides the user through the process of initializing the extraction phase. On top of creating the
1717
initial [**annotation columns**](./Extraction#annotations), this wizard also guides the user through the
18-
process of [**ingestion** ](./Extraction#ingestion) of the curated studies to create a new [**studyset**](../../glossary#studyset).
18+
process of [**ingestion** ](./Extraction#ingestion) of the curated studies to create a new [**studyset**](../glossary#studyset).
1919

2020
## Ingestion
2121

File renamed without changes.

docs/guide/walkthrough/Project/index.mdx renamed to docs/guide/Project/index.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ Within a project you will be able to:
1111
1. **[Curate](./Project/Curation)** studies of interest and select the ones to be included in the meta-analysis
1212
2. **[Extract](./Project/Extraction)** the relevant data such as activation coordinates and other meta-data
1313
3. **[Specify](./Project/Specification)** the algorithm and corrector you would like to use
14-
4. **Run** the meta-analysis and **View** the results
1514

16-
In each project, you can define a define a single StudySe (i.e. a collection of related studies), and one or more MetaAnalysis specifications.
15+
In each project, you can define a define a single StudySet (i.e. a collection of related studies), and one or more MetaAnalysis specifications.
1716

1817

1918
You can open a specific project by logging in, navigating to the

docs/guide/Running/index.mdx

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
---
2+
title: Running Analyses
3+
sidebar_position: 2
4+
---
5+
6+
# Running Analyses
7+
8+
You have a several options for running the analysis. In all cases, you will need your unique `<meta-analysis-id>`, which you can access for each Meta-Analysis within your Project.
9+
10+
![Meta-analysis run](/tutorial/ma_run.png)
11+
12+
Under the hood, analyses are managed by the [nsc-runner](https://github.com/neurostuff/nsc-runner) Python package, and executed by the [NiMARE](https://nimare.readthedocs.io/en/stable/) (Neuroimaging Meta-Analysis Research Environment) Python package.
13+
14+
## Google Colab
15+
16+
[![text](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/neurostuff/neurosynth-compose-notebook/blob/main/run_and_explore.ipynb)
17+
18+
The easiest way to run an analysis is to use the [Google Colab](https://colab.research.google.com/) notebook linked above.
19+
20+
The provided notebook runs entirely in the cloud, and does not require any local installation of software.
21+
To use simply paste your analysis ID into the first cell (`META_ID`), and using the Toolbar selet (Runtime -> Run All)
22+
or the keyboard shortcut (Ctrl or ⌘ + F9) to run the notebook.
23+
24+
![Colab notebook](/guide/nsc_colab_notebook.png)
25+
26+
The notebook will install all required software, run the analysis, and upload the results to Neurosynth Compose.
27+
Once the analysis is complete, you can use the notebook to explore the results using the interative report, download an archive
28+
of the results, or browse the results in the Neurosynth Compose web interface, in the Meta-Analysis section of your Project.
29+
30+
:::tip
31+
The Colab notebook has limited and varying freely available resources, and may not be able to run large analyses.
32+
If your analysis fails, try running it again, or using one of the other methods below.
33+
:::
34+
35+
## Docker
36+
37+
The easiest way to run analyses locally is to use the `nsc-runner` [Docker](https://www.docker.com/) image provided by Neurosynth Compose.
38+
39+
Docker is a containerization technology that allows you to run software in a consistent environment, regardless of the underlying operating system.
40+
41+
To run the Docker image, you will need to install Docker on your local machine.
42+
Instructions for installing Docker can be found [here](https://docs.docker.com/get-docker/).
43+
44+
Once Docker is installed, you can run your analysis using the using the following command:
45+
46+
```
47+
docker run -it -v -v /local/dir:/results ghcr.io/neurostuff/nsc-runner:latest <meta-analysis-id>
48+
```
49+
50+
where `/local/dir` is the path to a local directory where you would like to save the results of your analysis, and `<meta-analysis-id>` is the ID of the meta-analysis you would like to run.
51+
52+
The Docker image will download all required software, run the analysis, and upload the results to Neurovault & Neurosynth Compose.
53+
An HTML report will be saved in the results directory, and the results will be available in the Meta-Analysis section of your Project on Neurosynth Compose.
54+
55+
### Updating the Docker image
56+
57+
For every release of `nsc-runner`, we publish a corresponding Docker image.
58+
59+
You can manually download a specific neuroscout-cli release as follows:
60+
61+
```
62+
docker pull ghcr.io/neurostuff/nsc-runner:<version>
63+
```
64+
65+
where `<version>` is the version of `nsc-runner` that you want to download. If you omit version, the latest stable version will be downloaded.
66+
67+
You can see the tags available for download on [GitHub](https://github.com/neurostuff/compose-runner/pkgs/container/nsc-runner)
68+
69+
## Manually prepared environment using pip
70+
71+
:::warning
72+
Manually installing `nsc-runner` may be difficult due to complex dependencies in the SciPy stack, or fMRI-specific tooling. Proceed only if you know what you’re doing.
73+
:::
74+
75+
Use pip to install `nsc-runner` from PyPI:
76+
77+
```
78+
pip install nsc-runner
79+
```
80+
81+
and then run the analysis using the following command:
82+
83+
```
84+
nsc-runner <meta-analysis-id>
85+
```

docs/guide/glossary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Glossary
3-
sidebar_position: 1
3+
sidebar_position: 3
44
---
55

66
# Glossary

docs/guide/walkthrough/Studies/index.mdx

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)