[FieldTrip] networkanalysis_eeg Tutorial
Schoffelen, J.M. (Jan Mathijs)
janmathijs.schoffelen at donders.ru.nl
Wed Jan 26 16:53:04 CET 2022
Hi Julio,
Given the lack of responses so far, it seems that nobody has had problems with the tutorial.
Note that the tutorial has been written given a certain state of the toolbox, and that the tutorial documentation are not regularly updated. At least: the tutorials that we do not regularly use for our own teaching might become a bit stale. For instance, if the code evolves, the figures, or required cfg arguments might need some adjustment on the tutorial page as well to guarantee that the figures kind of keep being matched with freshly generated results.
The networkanalysis_eeg tutorial is not a tutorial that is often used by power users it seems (or at least by people who feel inclined to fix things, or raise issues like you are doing right now), so hence your issue has gone unnoticed so far. It takes a lot of time to keep all documentation up-to-date, and time is a limited resource. So any help is greatly appreciated.
What I notice from the tutorial, is that some code seems to be missing for the generation of figure(8). Particularly, what is missing is the interpolation step, followed by the parcellation step. Those steps were outlined in more detail a bit higher in the tutorial, when the ’nai’ was visualized.
I think that if you add a few analysis steps to the source_ratio variable, that you will be able to create the figure.
Please feel free to update the tutorial page as well with the added code, so that your future self (or anybody else) does not run into this anymore in the future.
Best wishes and happy computing,
Jan-Mathijs
On 18 Jan 2022, at 19:58, Julio Ignacio Rodiño Climent via fieldtrip <fieldtrip at science.ru.nl<mailto:fieldtrip at science.ru.nl>> wrote:
Dear all,
I've been trying to replicate the results from the networkanalysis_tutorial (https://www.fieldtriptoolbox.org/tutorial/networkanalysis_eeg/<https://urldefense.com/v3/__https://www.fieldtriptoolbox.org/tutorial/networkanalysis_eeg/__;!!HJOPV4FYYWzcc1jazlU!4h27UCzXjVMhZq7g5El0G6D32yhxpscxiVhGKJB25jukOFFPl65g0tVtKpzQS44cdqncDSyolZgYTy9ZROhNgjZlZRykpPIuRBzhtg$>) with the script in the folder (ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/networkanalysis_eeg/<https://urldefense.com/v3/__ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/networkanalysis_eeg/__;!!HJOPV4FYYWzcc1jazlU!4h27UCzXjVMhZq7g5El0G6D32yhxpscxiVhGKJB25jukOFFPl65g0tVtKpzQS44cdqncDSyolZgYTy9ZROhNgjZlZRykpPLzkewlCA$>). So far I was able to obtain all the figures but figure 8 in the tutorial is completely different from what I get from the script. I've checked if the script is the same from the text in the tutorial web page. That seems to be the case. I though it could be the version from fieldtrip but tried with versions 2021 and 2020 resulting in the same figure. In the tutorial web page figure 8 seems to have been plotted with cfg.funcolormap = 'hot' even though the values I get are positive and negative which, according to the ft_sourceplot documentation, is applied variables with only positive values.
¿Has someone been able to replicate the results form the tutorial as the appear on the tutorial's web page? More specifically, figure 8. Other figures are almost (but not exactly) as they appear.
Thank you all in advance!
--
Julio Rodiño
+569 92078145
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!4h27UCzXjVMhZq7g5El0G6D32yhxpscxiVhGKJB25jukOFFPl65g0tVtKpzQS44cdqncDSyolZgYTy9ZROhNgjZlZRykpPIS4gTO3Q$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20220126/237bc182/attachment.htm>
More information about the fieldtrip
mailing list