-
Notifications
You must be signed in to change notification settings - Fork 11
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
Transition Matrix Question #145
Comments
Hey Matt, From what I understand, you've calculated the transition matrix using Given the diagonal of 0, I assume you've set The figure in your previous post shows the difference between these two matrices ?
|
Hi @vferat, I did not explicitly set the ignore_repititions=True, but it looks like that is the default setting. And yes, I did as in the tutorial where I take the Observed and then the Expected, and then subtract those two to get the one above matrix. And also yes, the Observed being around 0.25 for all states means there is no significant difference in transitions, so my data essentially transition like white noise, and that gives the matrix above where everything hovers really close to 0. I am going to do more statistical tests, but wanted to ask this because I am getting these washed out looking metrices for all the participants and even when I do microstates as a group. To further confirm this I tried two other MEG datasets and am seeing the same thing. However, when I switch to using this on EEG data, then I get more of what the tutorial looks like. So I was starting to get concerned that there is a reason why almost all MEG microstate studies are not done in sensor space (being that they are not truly averaged referenced or something like that). |
I'm not very knowledgeable on MEG microstates, but for MEG sensor space analysis between subjects and/or between recordings/sessions, you should transform all your recordings towards a common head position, or in other words, towards a common device to head transformation. |
Yes, actually, that is why I am stuck in sensor space. The HCP MEG messed up on the sensor coordinates and was not able to release the forward model to anyone but Fieldtrip. Unfortunately, due to dependency issues I could not get Fieldtrip running on my school's high performance computer system. So to make up for the bad coordinates I had to make one from scratch using the MNE Magnus Layout. So all participants use the same sensor layout head model. I will say the matrix above is from an individual participant, but I get the same thing when I do group level analysis as well. From what I have read, it seems most MEG microstates are found by first transforming the data to source space and then all microstate classes are found and segmentation is applied on that transformed data. |
Again, not familiar that much with MEG microstates or the HCP dataset. Rergardless, I'm a bit skeptical with the methodology for MEG data.
|
Yes, I have used mne-hcp and there is even a warning about the location issue on their page. I misspoke, The layout is bad, and the dig file in epochs.info['dig'] was absent, at least in the minimally preprocessed data. With help on the mne form I was able to apply the correct swap of axis and apply a general dig file to get things where they should be, but with a standard dig file stored by MNE for the Magnus system. This is specifically what I did to get the layout and dig information into each participant: set DIG with Magnes 3600wh sensor loc forbti_path = op.abspath('/N/u/mne-python-main/mne') + '/io/bti/tests/data/' I am not sure if this controls for the head position the same way a Maxwell filter would, but since participants originally had empty dig files, I assumed this standardized them. But correct me if that is not the case, however given all the coordinate issues with the data I would be afraid to load in head position info. But either way, I am getting this transition matrix issue on individual participant data as well, so head position should not matter at that level. I can also confirm this seems to be the case on other MEG datasets as well beyond the HCP MEG data, so this seems to be an MEG thing in general. |
The digitization gives you the sensor geometry, which for MEG is fixed. Thus, the fix of addijg the sensor geomtry manually to your files from another recording with the same MEG device is valid as the sensor geomtry is fixed. But that does not give any informqtion about the head position. I am not talking about movement compensation but about the device to head transformation which should be present in Note that some (actually many recording) assume constant head position during the entire recording. Now the point of the processing I proposed above using Maxwell filter with the All that said, if you observe the same behavior at the individual recording level, then this might well be inherent to MEG microstates. |
Thank you @mscheltienne, I was not aware of that, I am more use to EEG myself, and I purposefully used the minimally preprocessed HCP data to make up for some of my lack of understanding, as I figured some of those things would have already been applied. Though, I do not know if that is something they would have applied at the minimal preprocessing step. I believe they did, but I will have to go back in and double check to be sure. As for the main problem, yes, that is precisely what I am worried about, that because of some of the differences between MEG and EEG, it may be that MEG can only utilize this pipeline in source space. This does seem to be the case at both the individual level and the group level, since I get similar looking transition matrices either way. |
Hello, I am trying to use the transition matrix on an MEG dataset in sensor space. However, when I plot it the matrix is very uniform. For 5 states, the Observed transition matrix all the cells revolve between 0.24-0.26. So when I move on to the Controlled transition matrix the whole matrix is pretty much washed out and looks like there are no real meaningful transition differences.
Is the above matrix abnormal and I should be concerned about something like data quality? Or is there a deeper issue such as this not being meant to be used on sensor space MEG data? Or is this a normal matrix for the most part? The microstates themselves look normal.
Best,
Matt
The text was updated successfully, but these errors were encountered: