Comments (7)
sounds good! I can experiment with 5 subs first
from pydra-tutorial.
Let's use ds000001 @yibeichan
It's only 16 subjects if we want to run the full process, and we can try to run a smaller subset (i.e. 5 subjects).
from pydra-tutorial.
hello @htwangtw @effigies , this dataset has 3 runs for each subject, since our goal is a 2-level glm. We have two choices:
- concatenate three runs into one, run the first-level on this concatenated run, then do the second level
- do the first level for each run, average copes/varcopes across three runs, then do the second level.
I prefer the first solution, because the second one sounds like a three-level glm.
from pydra-tutorial.
2 is the correct way and how the data was analysed in the original paper! I don't think it's a bad thing to make it three-level. I would suggest to have a look at the original paper.
from pydra-tutorial.
Yes, the original paper used FSL, so they did three-level GLM.
I understand that 2 is correct. But why 1 is not?
GLM is averaging across trials. So as long as we concatenate events.tsv
, preproc_bold.nii.gz
and confounds.tsv
in the same way, then GLM on the concatenated run should be the same as GLM on each run and average?
Or because of the conjunction of each two runs will cause some differences (e.g., in terms of hrf)?
Sorry, I only did GLM 2-3 times; I am probably wrong
from pydra-tutorial.
It's okay to concatenate runs but you will have to make sure the signal are normalised, so they are comparing with the same baseline. The safest way is to do each run separately, and then combine the statistical maps across run.
from pydra-tutorial.
Ah I see, I'll go for option 2 then, much safer. Thank you!
from pydra-tutorial.
Related Issues (16)
- It appears the `nested_workflow.png` image in `1_intro_pydra.ipynb` is still missing. Couldn't find it in `figures/`.. HOT 3
- updates for the tutorials
- fixing the exercise format
- convert this repo to a jupyterbook HOT 19
- Figures are missing, or have wrong outputs HOT 2
- Workflow for two-level GLM (nilearn tutorial) HOT 9
- 7_twolevel_glm_nilearn doesn't work well on jupyterbook HOT 3
- Typo in FunctionTask tutorial: "pf" instead of "of" under section 2.2. Setting the input
- Binder environment not working for the tutorial notebooks.
- Error in the illustrative image for Workflow section 4.5 (Setting a splitter for nodes) HOT 1
- Typo in Workflow section 4.2 (Workflow as a node) HOT 2
- IsADirectoryError" only occurs when using pydra
- container build error on binder HOT 1
- removing specific version from the requirements HOT 2
- update tutorial to reflect environment class updates HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pydra-tutorial.