Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regarding understanding different fMRI dataset #1

Open
NidhiSultan opened this issue Oct 2, 2019 · 4 comments
Open

Regarding understanding different fMRI dataset #1

NidhiSultan opened this issue Oct 2, 2019 · 4 comments

Comments

@NidhiSultan
Copy link

HI @akcarsten,
Thanks for explaining everything so easily, I tried the code you have provided to understand the nature of different fMRI dataset., mentioned below.

  1. (http://www.cs.cmu.edu/afs/cs.cmu.edu/project/theo-81/www/)
  2. (https://openfmri.org/dataset/ds000204/)

A. How do I analyze a mat format data like the one mentioned in 1 to understand which brain part is active?
B. Also, the '2' dataset is in .nii format which I could utilize like the hdr dataset you explained. But got correlation as negative for this and a similar dataset which is of a normal human.

Mainly I am trying to utilize the methods explained to understand the active
parts of the brain.

Thanks for the help, your guidance would be really helpful to me.

Regards
Nidhi

@akcarsten
Copy link
Owner

Hi @NidhiSultan,

  1. the .mat indicates that the data is saved as a Matlab file. You can try importing it to Python with SciPy.
  2. Its hard to tell you anything without knowing what kind of analysis you have done. If you upload the code somewhere I can have a look and give you some feedback.

Best,
Carsten

@NidhiSultan
Copy link
Author

Hi @akcarsten,

  1. I was able to use the SciPy for loading and using .mat format. Though, my concern is that the data in it is not a similar format as mentioned in the data link provided by you.
  2. I had used the same code as provided by you, to analyze the fMRI. It gave me a negative correlation and hence no region with any activity.
    Thanks for the prompt reply.
  3. If you think for the different datasets we need to use different strategies to do the analysis, please explain that as well. I am keen on understanding fMRI more, any link for the same would be helpful as well.

Regards
Nidhi

@akcarsten
Copy link
Owner

Hi @NidhiSultan,

As I said it is hard to give you concrete advice without having seen your code.
The data in the .mat file is from a different experiment, so you will have to adapt the design matrix to match the experimental conditions. This means adapting the timings etc. Also in the linked data two stimuli were shown with the second one being of variable length ("...on the screen for four seconds, or until the subject pressed the mouse button, ..."). This has to be taken into account as well for the analysis.
As a general remark: The notebooks in this repository are meant to outline the general process of fMRI data analysis. There are many things that are not covered in the notebooks but have to be taken into account if you want to perform a serious analysis. However there are toolboxes available for Python as well as for Matlab that have lots of useful features already implemented. I would advice you to switch to one of those libraries.
Finally on the page that provides the Matlab dataset, code and documentation is linked which should be a good starting point. Further it provides references to peer-reviewed papers that implemented various ways of analyzing the dataset.

@NidhiSultan
Copy link
Author

Hi @akcarsten,
Thanks for the support. I'll research a bit on this and if required will come back with further doubts.
Regards
Nidhi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants