Whole Brain Dynamics_ Part III_ Practical tutorial for Turbulence toolbox_default_8bec52f5
July 28, 2026Information
- ID
- 14366
- To Cite
- DCA Citation Guide
Transcript
- 00:00Thank you so much for
- 00:01joining us again. This is
- 00:02the last part of today's
- 00:05workshop.
- 00:06This is another practical
- 00:08introduction to yet another
- 00:10toolbox,
- 00:11and this time, it is
- 00:12a two point brain toolbox.
- 00:16We have the same speaker,
- 00:17Leo
- 00:18Lanata Sarayeva,
- 00:20a postdoctoral associate at Yale.
- 00:23And
- 00:24the purpose
- 00:26of this talk
- 00:27is to
- 00:29be as practical as possible,
- 00:31and we want to promote,
- 00:34use of this advanced computational
- 00:35advanced
- 00:36toolbox, some of clinical researchers.
- 00:39We have
- 00:40a good number of people,
- 00:42and, I mean,
- 00:44this
- 00:44is a group that can
- 00:46talk and ask questions
- 00:47without being in each other
- 00:49way. So please, everybody, please
- 00:51hear right now. Interrupt Leah
- 00:53and ask questions as we
- 00:54go. The chances are that
- 00:57the questions that you guys
- 00:58have,
- 00:59anybody else who will try
- 01:00to use this toolbox will
- 01:02also have. So that would
- 01:03be very helpful
- 01:04if you ask questions.
- 01:06And that's it. My name
- 01:07is all yours.
- 01:08Mhmm. Thank you very much,
- 01:10Helen.
- 01:11Yeah. So thank you, Helen,
- 01:12you know, like, for the
- 01:13invitation. I like to be
- 01:14here. Thank you so much,
- 01:15and, like, everyone to for
- 01:16being here today. It's a
- 01:17pleasure, you know,
- 01:19to to talk about, like,
- 01:20this topic. And as with,
- 01:22like, the first tutorial,
- 01:24I'm going to try, like,
- 01:25to make this tutorial
- 01:27as practical as possible. So
- 01:28I'm just, like, going to,
- 01:29like, to
- 01:30switch through tabs,
- 01:33and,
- 01:34code snippets and so on
- 01:36and so forth. And and
- 01:37just,
- 01:38just as, like, a quick
- 01:39intro just as I did,
- 01:40like, last time.
- 01:42So I'm going to run,
- 01:43you know, like,
- 01:44some code, like, during the,
- 01:46like, during this talk. And
- 01:47I just wanted to make
- 01:48sure, like, just to make
- 01:49sure, like, where I'm running,
- 01:51like, this code. So right
- 01:52now, I I'm running, like,
- 01:53this code in the Yale
- 01:55HPC cluster, the high performance,
- 01:57like, cluster, which is basically,
- 01:58like, a very powerful set
- 02:00of, like, computers.
- 02:02But the thing is
- 02:04when I when I run,
- 02:05like, this code using, like,
- 02:06g g eight PC resource
- 02:08at at Yale, I run-in
- 02:09virtual machines. And, like, those
- 02:11virtual machines are pretty much,
- 02:14desktop sessions as if I
- 02:15was running from my my
- 02:17personal computer.
- 02:19So the idea here
- 02:20is to run and to
- 02:22show you guys, you know,
- 02:22like, how to run like
- 02:23this in an environment that
- 02:25is accessible, like, to
- 02:26everyone. And particularly to those
- 02:28who are at Yale and
- 02:30even, like, other, like, institutions,
- 02:32most PIs, you know, like,
- 02:33have access,
- 02:35to the cluster.
- 02:36So
- 02:37my PIs, like, including, like,
- 02:38Helen Kent Grant,
- 02:41to me access, like, to
- 02:42to to the cluster, like,
- 02:44through them. So, usually, it's
- 02:45a very straightforward process. But
- 02:47even if cluster is not
- 02:49available, you can run, like,
- 02:50in personal computer. So the
- 02:52topic of, like, this this
- 02:54this talk is going to
- 02:55be, like, the turbulence toolbox.
- 02:58And and the and, I
- 02:59just wanted to to start,
- 03:01like, even, like, the heads
- 03:02up is that this turbulence
- 03:04toolbox
- 03:05is based on this,
- 03:07bio archive paper that is
- 03:09not yet, like, published.
- 03:11So even, like, right now
- 03:13or when you're using, like,
- 03:14the toolbox,
- 03:16sometimes you might find
- 03:18the need to do some,
- 03:19like, tweaks, you know, like,
- 03:20here and there that are
- 03:22usually fixed, like, through how,
- 03:23like, the publication process that,
- 03:26this article is still, like,
- 03:28going through.
- 03:29It's very recent. You see,
- 03:30like so this this article
- 03:32was posted, like, at the
- 03:33end of, like, last year.
- 03:34And the reason why we
- 03:35wanna like to talk about
- 03:36this is because this is
- 03:37a topic that we find,
- 03:38like, really, really relevant for
- 03:40the field with, like, several,
- 03:42like, applications.
- 03:44And just like to give
- 03:45a a brief, like, background
- 03:46as Gustavo
- 03:47said, like, before.
- 03:49So, like, the turbulence
- 03:50is a framework,
- 03:52a physics like derived like
- 03:53framework that can be used,
- 03:55like, to describe,
- 03:57brain brain activity.
- 03:59And,
- 04:00terms of, like, functional functional
- 04:01MRI analysis, I think, like,
- 04:03we are all, like, very
- 04:04interested using choosing less, like,
- 04:07analysis using, like, functional connectivity
- 04:10in which we just, like,
- 04:11take correlations, like, between time
- 04:13series,
- 04:14of, like, different, like, regions.
- 04:16But the thing
- 04:17is sometimes,
- 04:19this analysis, like, is very,
- 04:22important, and it can be,
- 04:23like, very insightful.
- 04:25But this order, like, approaches
- 04:27such as, like, the the
- 04:28the turbulence, like, framework
- 04:30allows us to probe and
- 04:31get more insight
- 04:33into the spatial and, like,
- 04:35temporal dimensions that govern,
- 04:38brain brain activity.
- 04:40And I've we think that
- 04:41that's very useful because, for
- 04:43instance, like,
- 04:44if we have a functional
- 04:46connectivity matrices,
- 04:47and then we see in
- 04:49these matrices that region a
- 04:51and region b have, let's
- 04:53say, like, a high correlation
- 04:54that is, like, their true
- 04:56bold time series are highly
- 04:58correlation, but are highly correlated.
- 05:01But that is considering, like,
- 05:02less like the average
- 05:04across, you know, like, the
- 05:05whole time series. Maybe at
- 05:06some point in that,
- 05:08in that time series, these
- 05:10two regions could have, like,
- 05:12activities that were not
- 05:14cope coupled. Right? That it
- 05:16could be, like, totally uncoupled.
- 05:17So, like, this resolution, you
- 05:19know, like, this temporal resolution
- 05:20sometimes
- 05:21is
- 05:22lost,
- 05:23when you when you use,
- 05:24like, these approaches. And we
- 05:26also,
- 05:27sometimes don't make use of,
- 05:28like, the spatial embedding in,
- 05:30like, in the brain,
- 05:32causing, like, the fact that
- 05:33nearby regions like ten should
- 05:35be more
- 05:36closely, functionally
- 05:38closely from the functional perspective
- 05:40than sometimes, like, distance like
- 05:42regions.
- 05:44So, this turbulence, like, framework
- 05:46also allow us, like, to
- 05:47make use
- 05:48of the the spatial, like,
- 05:50embedding,
- 05:51of, like, the brain.
- 05:54But,
- 05:55now moving, like, to the
- 05:56more
- 05:57practical, like, side of, like,
- 05:58the this talk.
- 06:00So this this if if
- 06:02you open, like, this this
- 06:03article in in bio archive,
- 06:06you can find
- 06:07at the bottom of it,
- 06:10actually sorry. Like, at the
- 06:11beginning of, like, the result
- 06:12session, like, the key the
- 06:13the link to the GitHub.
- 06:15And if you click on
- 06:16this link, that's going to
- 06:17open. So this is, like,
- 06:19the GitHub, like, page for
- 06:20this code base, and it's
- 06:22a MetLab based, like, repository.
- 06:25And it's a very,
- 06:27very,
- 06:29very,
- 06:30very good, like, repository, like,
- 06:31in the sense that,
- 06:34it's very, like, complete, and
- 06:35it it aims to be
- 06:37very intuitive and interactive.
- 06:40So I'm going, like, to
- 06:41to show you how
- 06:43to run, like, with, like,
- 06:45some data configurations,
- 06:48this this repository, and and
- 06:49you see that's very user
- 06:51friendly.
- 06:53So
- 06:54to run this repository,
- 06:57what you need to do
- 06:58and I separate it like
- 06:59this.
- 07:00Let me open it so
- 07:01I can see you. So
- 07:03here are, like, the comments
- 07:05to download,
- 07:07the the repository.
- 07:08So here are it's just
- 07:10like a bash script
- 07:11to create, like, a directory
- 07:13where, like, the repository is
- 07:14going to be downloaded and
- 07:16also, like, to move into,
- 07:18like, this this directory.
- 07:20And here are just, like,
- 07:23the the commands to download
- 07:24the repositories
- 07:25with, like, those directories.
- 07:27And here, the first command
- 07:28is going to, like, to
- 07:29download that repository that I
- 07:31just showed you. And the
- 07:32other, like, two,
- 07:34two commands are to download
- 07:36other repositories that contain plotting
- 07:39functions
- 07:40that are going to be
- 07:40used for,
- 07:42the the
- 07:44the the turbulence,
- 07:46toolbox analysis.
- 07:48If you don't have,
- 07:50or if you don't want
- 07:51to download
- 07:52these auto, like, repositories, that's
- 07:53fine. That's not going to
- 07:54influence, like, the results themselves
- 07:56just like the plotting.
- 07:58Some some figures are not
- 07:59going to be plotted, but
- 08:00that's not going to prevent
- 08:02the analysis
- 08:04itself, like, from running.
- 08:06So to run this, you
- 08:08need, like, to open
- 08:10MATLAB.
- 08:11And here I have, like,
- 08:12two MATLAB windows are, like,
- 08:14open because,
- 08:16these,
- 08:18these two boxes are a
- 08:19little bit of time assurance.
- 08:21I'm going to run, like,
- 08:22two things, like,
- 08:23in in parallel so that
- 08:25they can finish,
- 08:27within within time.
- 08:29So after you open, like,
- 08:31MATLAB, you will need to
- 08:33move
- 08:34to where you downloaded
- 08:37the the turbulence toolbox, and
- 08:38this is, like, the common
- 08:39that you you can use
- 08:40to do this. And then
- 08:42here are comments that you
- 08:44are going to basically add
- 08:45to the math MATLAB path,
- 08:47the,
- 08:48the paths to the to
- 08:50the plotting toolboxes.
- 08:51So, like, these commands are,
- 08:54are going to make, like,
- 08:55the commands provided by these
- 08:56two boxes available
- 08:58for the, turbulence,
- 09:00brain toolbox.
- 09:01So after you run all
- 09:03these, like, four commands, like,
- 09:04in MATLAB, you're going to
- 09:05be ready, like, to run.
- 09:07And to run the turbulence
- 09:08toolbox,
- 09:10it's it's simple. What you
- 09:12need to do is just
- 09:13run this command,
- 09:15run
- 09:16turbulence.
- 09:20After you run this turbulence,
- 09:22there's going to be
- 09:23this,
- 09:25this first,
- 09:27pop up asking
- 09:29which approach we want to
- 09:30compute. And before I click,
- 09:32let me just, like, explain,
- 09:34this to you. I'm going
- 09:35to,
- 09:36keep explaining and, going back,
- 09:38like, to the paper and,
- 09:39like, the code because then
- 09:40we can optimize, like, time.
- 09:42So there are, like, two
- 09:43main,
- 09:44ways to run to use,
- 09:46like, the turbulence toolbox. One
- 09:47of them is, like, model
- 09:49free, and and the other
- 09:50one is model based. The
- 09:52model free, you're just going
- 09:53to use the turbulence toolbox
- 09:56into your fMRI data,
- 09:58and then you're going to
- 09:59be used to to to
- 10:01be able, like, to compute
- 10:02a lot of, like, parameters
- 10:02that I'm going to talk
- 10:03about and show you in
- 10:04in a little moment.
- 10:06But all those parameters are
- 10:07going to be used,
- 10:09for the empirical functional,
- 10:12functional MRI that you you
- 10:14have. The model base is
- 10:16a little bit, like, different.
- 10:17The model base it, you're
- 10:18going to use
- 10:19the the
- 10:21the
- 10:23the empirical functional MRI, but
- 10:24you're you're going to use
- 10:25the the the empirical functional
- 10:27MRI
- 10:28to optimize,
- 10:29a whole brain model. In
- 10:31this case, it's a model.
- 10:34And then you are going
- 10:36to compute
- 10:37the turbulence statistics,
- 10:39on this on this
- 10:42model. Because with this, you
- 10:43can also run what is
- 10:45called, like, perturbation analysis that
- 10:46I'm going to show you,
- 10:48like, in a second.
- 10:49So for the first one,
- 10:50we will start with, like,
- 10:52the most most complex one,
- 10:53which is, like, the model
- 10:54based.
- 10:57And then he's going to
- 10:58ask,
- 10:59if we already, like, computed
- 11:01the model free approach since
- 11:03this is, like, the first
- 11:04time we are going to
- 11:05we are using this. I'm
- 11:07going to click no.
- 11:09Then they are going to
- 11:10ask if we have, like,
- 11:11f and r data,
- 11:12and then we click yes
- 11:13because we need, like, for
- 11:14this analysis. And then there's
- 11:16going to apply this huge
- 11:17pop up window. And if
- 11:19and and this is basically,
- 11:20like, to configure,
- 11:22the model itself, like, the
- 11:23input data, the input, like,
- 11:24parameters.
- 11:26And the the first thing
- 11:27is to load the time
- 11:29series that is, like, the
- 11:30fMRI data that we're going
- 11:31to, like, to analyze.
- 11:33And and for this particular
- 11:34tutorial, what I've done is
- 11:36I I use it publicly
- 11:38available fMRI data. Let me
- 11:40just, like, show you guys
- 11:41how I did this. Well,
- 11:42this is like the script
- 11:43that I used. So this
- 11:45script is going to use,
- 11:48a a Python package called,
- 11:49like, new learn that is
- 11:51use it for fMRI
- 11:53analysis, mirror imaging analysis, like,
- 11:55in general.
- 11:56So here, they have this
- 11:58fetch comments that I we
- 11:59can use
- 12:00to,
- 12:02fetch public available datasets. So
- 12:04for instance, like, this this
- 12:06fetch command
- 12:07is,
- 12:09allows me to download,
- 12:11another developmental fMRI dataset.
- 12:13And here, I can specify
- 12:15how many people, you know,
- 12:17like, per group I want
- 12:18to download and the age
- 12:20group itself. So here, as
- 12:22in the turbulence box, I'm
- 12:23going as I'm going to
- 12:24show, it requires more than
- 12:26one group or more than
- 12:27one not that we it
- 12:29requires, but,
- 12:30that would be, like, the
- 12:31scenarios in in which is
- 12:33it would be most usually
- 12:35used,
- 12:36to, like, say, like, compare,
- 12:37like, groups or compare, like,
- 12:39different, like, conditions.
- 12:40So here,
- 12:41I separate, like, two age
- 12:43groups. One is child and
- 12:44the other is adult. So
- 12:45after I I run this
- 12:47command, this they are going
- 12:48to download that these datasets
- 12:50are going to be, like,
- 12:50downloaded in my,
- 12:55in my working directory.
- 12:56Then the this is a
- 12:58very important part. Here, I'm
- 13:00going to download the SCAFR
- 13:02Atlas with, like, the resolution
- 13:03of, like, one thousand regions.
- 13:05And that's important because,
- 13:07as you when I when
- 13:09I move back to the
- 13:11to the pop up, you
- 13:12see
- 13:14the the the the the
- 13:16Turbulence brain toolbox, it uses,
- 13:19functional connectivity,
- 13:21structural connectivity, resting state networks,
- 13:23but all of these should
- 13:24be based on the same.
- 13:26As I'm going to use
- 13:28this true connectivity
- 13:29data and the the resting
- 13:31state networks already, like, provided
- 13:33with, like, the dataset, and
- 13:34these are in this cover
- 13:35one thousand perseclations,
- 13:37I need my time series
- 13:38to also be in the
- 13:39same perseclation. Otherwise, the code
- 13:41will break. So this is
- 13:43going to just fetch this
- 13:45atlas, and this other comment
- 13:47is going to percolate the
- 13:49data according to that atlas.
- 13:52So here for each one
- 13:53of, like, the subjects, I'm
- 13:54going I'm going to have,
- 13:55like, regional time series
- 13:57according to the sky for
- 13:58scaffold one thousand light porcelain.
- 14:01And finally,
- 14:02I here, I'm just, like,
- 14:03saving, you know, like, this
- 14:04output
- 14:05into, like, a MATLAB format
- 14:07that different virtual box,
- 14:09will be able, like, to
- 14:10read.
- 14:11And, here is just, like,
- 14:13the path in which this,
- 14:15this time series are gonna,
- 14:17like, to
- 14:20to my plan, what I
- 14:21need to do is just
- 14:22to load the time series.
- 14:24I I go to the
- 14:25path that it saved, and
- 14:27I just, like, select it.
- 14:28Then this object could have,
- 14:30like, several time series.
- 14:31In the way that I
- 14:32saved it, it only has,
- 14:33like,
- 14:35single time
- 14:36have time series for each,
- 14:38group in a single, like,
- 14:39object. So there's there's that's
- 14:41why it's only has, like,
- 14:43TS here.
- 14:45And then I,
- 14:46I could, as I mentioned,
- 14:48like, before, load the other
- 14:49things. So for instance, like,
- 14:51if I had a
- 14:53matrices
- 14:53for this group, I could
- 14:55load here.
- 14:57But I remember the it
- 14:58needs to be, like, in
- 14:59the same perseulation.
- 15:00If I had,
- 15:02the the
- 15:04rest instead networks
- 15:05for the percolation that I'm
- 15:06using, I would also like
- 15:08load here. And just to
- 15:09be
- 15:10Helen, do do you have
- 15:10a question? Yes. Of course.
- 15:13So how do you decide
- 15:14how much input data
- 15:16do you need?
- 15:17Is it
- 15:18you you include whatever you
- 15:20have,
- 15:21or are there any specific
- 15:23questions where different types of
- 15:25data more helpful?
- 15:27What how do you decide
- 15:28the specific?
- 15:29Yeah. That's a
- 15:31a very good question, Hal.
- 15:32I think, like, in a
- 15:33ideal scenario, you should have
- 15:35at least the the time
- 15:36series and the structural connectivity
- 15:38from the same, like, persistence.
- 15:40If you don't have the
- 15:42structural connectivity from your persistence,
- 15:44what you can do is
- 15:46to use something like what
- 15:48we're going to do right
- 15:49now here to take, let's
- 15:50say, like, a reference structural
- 15:51connectivity. So for instance, like,
- 15:53you you are,
- 15:55let's say,
- 15:57running an analysis
- 15:59in
- 16:00adults of a particular, like,
- 16:01population, but you don't have,
- 16:03like, the structural connectivity matrices
- 16:05of, like, those participants, then
- 16:07you can maybe, like, take
- 16:09a huge, you know, like,
- 16:10dataset, let's say, like the
- 16:12human conundrum
- 16:13project, the UK Biobank,
- 16:15or whatever, like, auto, like,
- 16:17big dataset. But a dataset
- 16:19that has, like, subjects that
- 16:20are representative of, like, the
- 16:21subject that you have, and
- 16:23then you can
- 16:24use these representative datasets to
- 16:26estimate the structural connectivity matrices.
- 16:28This would be acceptable,
- 16:30would not be like the
- 16:31ideal scenario, but that would
- 16:32be like,
- 16:34that would be like acceptable.
- 16:35The only thing that
- 16:36needs,
- 16:38that we need to make
- 16:39sure is choose, like, the
- 16:40same percolation. So for instance,
- 16:41right now, I just, like,
- 16:42loaded the time series using,
- 16:44like, this cover, like, one
- 16:45thousand percolation, which is based
- 16:46like a percolation that's going
- 16:48to divide the brain regions,
- 16:49like, with, like, one thousand
- 16:50regions.
- 16:51If I try to load
- 16:52the structural connectivity matrices of,
- 16:54like, a different percolations, so
- 16:56for instance, like, in the
- 16:57first talk, we used the
- 16:58decadalene percolation, which has sixty
- 17:01eight, cortical regions. That would
- 17:03not work. The percolations, like,
- 17:05need to match. So this
- 17:06is something that it so
- 17:08both, like, the time series
- 17:09and the superconductivity
- 17:10matrices
- 17:11are dependent on your data,
- 17:14is something that you need
- 17:15to, like, to collect. Then
- 17:16there are other, like, two
- 17:17files
- 17:18that you can input here.
- 17:20One of these is the
- 17:21resting state, like network file.
- 17:23So
- 17:24here is,
- 17:25is a is a file
- 17:27that's going to show,
- 17:29the assignment of, like, each
- 17:30brain region of, like, your
- 17:31percolation,
- 17:32the percolation that you use
- 17:33it to a functional network.
- 17:35So for instance, like,
- 17:37for this scaffold perseulation,
- 17:39they use, if I'm not
- 17:40mistaken, like, the Yale,
- 17:43resting state like network. So
- 17:44for instance, like, let's say
- 17:45you have, like, region a.
- 17:46Region a is assigned to
- 17:48the default mode network. In
- 17:49region b, also, it's default
- 17:50mode network. Region c, now
- 17:52it's going to be the
- 17:54frontal parietal network and so
- 17:55on and so forth. So
- 17:56this is just like a
- 17:58file with, like, the assignments
- 17:59of, like, each brain region
- 18:00in your
- 18:01to resting state network.
- 18:04And finally, there's this comes
- 18:05comes comes from? Is that,
- 18:08something canonical,
- 18:09or is it based on
- 18:10your
- 18:11ICA?
- 18:13Yes. That's a a good
- 18:14question, Helen. You can
- 18:16derive this, like, from your
- 18:17data.
- 18:19But,
- 18:20usually,
- 18:21at least, like, from from
- 18:23most of, like, the NNR
- 18:24that I I've seen, like,
- 18:25with two bots, like, similar
- 18:26to these ones,
- 18:28they usually use,
- 18:29canonical, like, assignments. So for
- 18:31instance, like, Discover Atlas,
- 18:34it has
- 18:36a GitHub, like, repository. And,
- 18:37like, in this GitHub repository,
- 18:39they have, like, the porcelain
- 18:41wave, like, different, like, resolutions
- 18:42with, like, one hundred, two
- 18:43hundred, four hundred, one thousand,
- 18:45like, regions. And they also
- 18:46have, like, the assignments of,
- 18:47like, those regions through functional
- 18:49networks.
- 18:50So we could just, like
- 18:51You do do you have
- 18:52do you have two assignment
- 18:54for every single region, or
- 18:56can you focus on You
- 18:58have.
- 18:59You have. You have. Okay.
- 19:00Yeah. But but if if
- 19:02if you want if, let's
- 19:03say, like, you want
- 19:05yourself,
- 19:08to define these assignments based
- 19:09on your data, that would
- 19:11be fine too. This is
- 19:12no problem. Like, for the
- 19:13code itself, like, to run,
- 19:15what you only need is
- 19:16to have, like, each ring
- 19:17region assigned like your network.
- 19:21But, like, how this assignment
- 19:22is done is completely
- 19:25up to you.
- 19:27Yeah. And and yeah. And
- 19:28then you can do either,
- 19:29like, take
- 19:30what someone else, you know,
- 19:32like, has already, like, assigned
- 19:34it, or you can do
- 19:35this, like, by yourself.
- 19:38And and then, like, the
- 19:39four file that needs to
- 19:41you need to include
- 19:42or just use, like, the
- 19:44the default, which is, like,
- 19:45this car for, like, one
- 19:46thousand
- 19:47is a file that that
- 19:49shows, like, the center of
- 19:50mass of, like, each brain
- 19:52region.
- 19:52The center of mass is
- 19:54basically
- 19:55the coordinates of, like, the
- 19:56centroid of, like, each brain
- 19:58region that is, like, the
- 19:59x, y, and z coordinates
- 20:01of, like, the center of,
- 20:02like, each brain region. Because
- 20:04as I'm going to talk
- 20:05to you,
- 20:07the spatial distance, you know,
- 20:09like, the spatial, like, information,
- 20:10spatial embedding of, like, brain
- 20:12regions is very important
- 20:15for,
- 20:16the turbulence like toolbox.
- 20:18So these are, like, the
- 20:19four files that you need
- 20:20to provide the algorithm for
- 20:21each each to run.
- 20:23The these three files, the
- 20:25structural connectivity, the resting state
- 20:27network, and the center of
- 20:28mass, they do come, like,
- 20:30with,
- 20:31default, files that you can
- 20:33use as long as your
- 20:35time series is also, like,
- 20:36in this car for, like,
- 20:37one thousand and parcelation.
- 20:38So after you have, like,
- 20:39all those files loaded, then
- 20:41you have, like, to set
- 20:41up, like, the parameters.
- 20:44So
- 20:45the first one is a
- 20:46sample rate,
- 20:48which is based, like, the
- 20:49time
- 20:50between,
- 20:51like, between, like, each,
- 20:53volume in the fMRI
- 20:55is the the is collected.
- 20:57So for for this dataset,
- 20:59it is two two seconds.
- 21:00So we need to set
- 21:01this.
- 21:02Then for the structural connective
- 21:04like matrices, you're going to
- 21:06use,
- 21:09what type of, like, let
- 21:11let's say, like, anatomical connection
- 21:12or spatial, like, embedding you
- 21:14are going to use. The
- 21:15first one is EDR.
- 21:18EDR is basically going to
- 21:19use
- 21:20the the the
- 21:22the the structural connectivity like
- 21:24matrix to define, like, a
- 21:25spatial decay, you know, like,
- 21:27parameter that is going to
- 21:28to be used, like, to
- 21:29define,
- 21:30the anticon collect relationships and
- 21:32anticon collect distance between regions.
- 21:35You can use you can
- 21:36also, like, use EDR
- 21:38plus,
- 21:39this LR, which is, like,
- 21:41long range.
- 21:43And the basically, what's going
- 21:45to do is because, like,
- 21:46EDR
- 21:47is gonna like to compute
- 21:49this spatial, like, the k
- 21:50parameter based only on the
- 21:52distance
- 21:52between, like, regions because,
- 21:54based on the the the
- 21:55biological knowledge that
- 21:57regions that are, like, more
- 21:59distance, they tend to be
- 22:00less connected. However,
- 22:02we also know that there
- 22:03are some, like, regions that
- 22:05even though they are distant
- 22:06among themselves, they do have,
- 22:08like, a connection that is,
- 22:09like, exceptional long range
- 22:12long range connections, and these
- 22:13long range connections can be
- 22:15estimated from the structural connectivity
- 22:16matrices. And this is like
- 22:18the default
- 22:19of, turbulence toolbox. The other
- 22:21option is to just use,
- 22:23like, the structural connectivity like
- 22:24matrices. So we are just
- 22:26going to use,
- 22:27the measures as being,
- 22:29as being, like, provided. And
- 22:30just I figured I haven't,
- 22:32like, mentioned this, but the
- 22:33structural connectivity matrix is based
- 22:34like a matrix estimated use,
- 22:36like, diffusing way to do
- 22:39MRI and tractography.
- 22:42Yeah. Then there you have,
- 22:44like, to select the band
- 22:46pass future, like, parameters. So
- 22:47as I mentioned, like, before,
- 22:49this works as some sort
- 22:50of, like, envelope. So here,
- 22:52we are going to
- 22:54crop,
- 22:55you know, establish, like, two
- 22:56thresholds, like, one upper threshold
- 22:58and one lower threshold, and
- 23:00then, like, we are only
- 23:01going to consider, like, the
- 23:02both signal
- 23:03within
- 23:04this envelope.
- 23:06And the reason we do
- 23:07this is because we know
- 23:09that the the the frequencies
- 23:11within this envelope are usually
- 23:13the inter more interpretable,
- 23:15bold, frequencies.
- 23:16And the the the frequencies
- 23:18outside of, like, this envelope
- 23:20are the frequencies that are
- 23:22more noisy or more influenced
- 23:24by scan drift and etcetera.
- 23:26These were not going to
- 23:27change.
- 23:29This is an important,
- 23:31parameter,
- 23:32because this is,
- 23:34as I as I mentioned
- 23:35before. So when you have
- 23:37functional MRI data, it's a
- 23:38four d dataset. So we
- 23:39have you have, like, a
- 23:40fourth dimension for time. So
- 23:42you need to know, like,
- 23:43how much time points you
- 23:44have.
- 23:45So for for this dataset,
- 23:47I know that the number
- 23:48of, like, time points is
- 23:49one hundred sixty eight. So
- 23:51this I I'm just, like,
- 23:52saying to the model, oh,
- 23:54I want you to include
- 23:55all time points.
- 23:56If I select,
- 23:58if I I I left
- 24:00in in two hundred, that
- 24:02probably is going to to
- 24:03I would probably get an
- 24:04error because there would be,
- 24:05like, not enough, like, time
- 24:06points for two hundred.
- 24:08So, like, another question immediately.
- 24:11Yeah. Yeah. How many time
- 24:13points do you have to
- 24:14have to be able to
- 24:16fit this model?
- 24:18That's it. What is the
- 24:20shortest? And That
- 24:22explanation is just to see,
- 24:25what how long the
- 24:27scan should be, but, also,
- 24:30can we run it within
- 24:32trials?
- 24:33Can we,
- 24:35do sliding window and see
- 24:37how the specific,
- 24:41turbos dynamic changes over time?
- 24:43Like, what is the
- 24:45minimum required number of tools?
- 24:48Yeah. That's a
- 24:49that's a very good question,
- 24:50Helen.
- 24:52I don't know. Out of,
- 24:53like, the top of my
- 24:54head, I don't remember seeing,
- 24:56a minimal
- 24:57a minimal, like, requirement of,
- 24:59like, time points,
- 25:01But
- 25:02there might be I just
- 25:03I just honestly, I just,
- 25:05don't know,
- 25:07and I don't remember, like,
- 25:08seeing, like, this on the
- 25:09paper.
- 25:11And you can do it
- 25:12really, it cannot fit the
- 25:13terms, like, ten. Right?
- 25:15Probably, it's not enough. Yes.
- 25:17Yes. What is the reasonable
- 25:18range? Like, what are we
- 25:20talking about?
- 25:21Yes.
- 25:22I don't I don't think
- 25:23there's there would be, like,
- 25:25a a maximum range. I
- 25:26think, like, the maximum range
- 25:28yeah. I mean, yeah, you
- 25:29could use
- 25:30I mean,
- 25:31if you have, like,
- 25:33hundred tons of time points,
- 25:35I feel like you can
- 25:36use, like, all of them.
- 25:37I feel like the the
- 25:38most important question is the
- 25:39one that you asked. Like,
- 25:40what would be, like, the
- 25:41minimal reliable time points needed,
- 25:43like, for this analysis,
- 25:45which I honestly don't know,
- 25:47like, on the top of
- 25:47my head.
- 25:49And I think, Helen,
- 25:51regarding ask a deco.
- 25:53I I have I have
- 25:54trust deco.
- 25:56Yes.
- 25:57And and regarding, like, the
- 25:58second question,
- 26:00yeah, I think,
- 26:01no matter, like, how many
- 26:03time points you include, like,
- 26:05in this module,
- 26:07you're going to be able,
- 26:08like, to see,
- 26:09the the this the the
- 26:11temporal dynamics, you know, like,
- 26:12the temporal, like, turbulence, like,
- 26:14dynamics. The only thing is
- 26:16is that this is kinda,
- 26:17like, related to to your
- 26:18first question. Like, how many
- 26:20time points
- 26:22do you need to see
- 26:25the turbulence, like, dynamics in
- 26:27a way that is insightful.
- 26:28Right?
- 26:30But, like, if even if
- 26:31you have, like, a a
- 26:32long number of, like, time
- 26:33points, you can you can
- 26:35run run the model. What
- 26:36you can do is to
- 26:37put, like here, you put,
- 26:39like, more time points than
- 26:41what your data,
- 26:42have because then that's going
- 26:44to, like, break break the
- 26:45function.
- 26:48Yeah. And and then the
- 26:49lamb lambda to be plotted,
- 26:51this is just the the
- 26:52lambda is a spatial parameter
- 26:54that I'm going to, like,
- 26:55to go into,
- 26:57more more detail, like, in
- 26:59a second. But, basically, this
- 27:00this lambda parameter
- 27:02as the turbulence, like,
- 27:04toolbox incorporates,
- 27:05like, spatial, like, information in
- 27:07its, like, computations,
- 27:08it's very, it's very important.
- 27:10It determines, like, how, let's
- 27:12say, like, the the turbulence
- 27:14statistics are are, computed and
- 27:16obtained.
- 27:17And and here's just, like,
- 27:18asking us
- 27:20what, what lambda values we
- 27:22want to highlight, you know,
- 27:23like, by by plotting
- 27:25the triple n statistics for
- 27:26those, like, lambda lambda points.
- 27:29And here, I'm going to
- 27:30put zero point two, and
- 27:32the reason why is because,
- 27:35the the the triple n
- 27:37two box also, like, offers
- 27:38allow us, like, to set
- 27:39up, like, a range of,
- 27:40like, lambda parameters, but just
- 27:42for each, like, to be
- 27:43faster.
- 27:44I'm going to decrease the
- 27:46range here. So I'm just
- 27:48going to have, like, two
- 27:49lambda parameters. So
- 27:50initial zero point seventeen, the
- 27:52final
- 27:53zero point two, and then,
- 27:54like, the lambda steps, like
- 27:56zero point zero three, which
- 27:57is basically zero point two
- 27:58minus zero point seventeen.
- 28:02Then,
- 28:03here are just, like, check
- 28:05boxes for them to pull
- 28:07out, and I think we
- 28:08want as more
- 28:10plots as possible.
- 28:12And,
- 28:13then,
- 28:14from the the previous
- 28:16previous talk, remember that we
- 28:18talked, like, about, like, the
- 28:19g parameter that is, like,
- 28:20the global
- 28:21scaling, like, parameter for the,
- 28:23DMF, like, model. The turbulence
- 28:25to box does not use,
- 28:26like, the the DMF model.
- 28:28They use, like, another model,
- 28:30as you mentioned, like, before
- 28:31the model.
- 28:32But this model also takes
- 28:34this g parameter to scale,
- 28:36like, the structural connectivity, like,
- 28:38between,
- 28:39regions.
- 28:40And here, it's going to
- 28:42do,
- 28:43a grid search for the
- 28:45value. So for instance, like,
- 28:47the the default, we would
- 28:49select, like, from
- 28:50zero to three and, like,
- 28:52with a a step of
- 28:54zero point twenty five. So
- 28:55it it would serve zero,
- 28:57zero point twenty five, zero
- 28:58point five until three, but
- 29:00that's going to take a
- 29:01long time.
- 29:02So I'm going to just
- 29:05bump in it to two
- 29:07point five and three. So
- 29:08it's going just to research
- 29:09two point five, two point
- 29:11seventy five, and three.
- 29:13Then
- 29:14this is the number of,
- 29:15like, subjects slash, like, number
- 29:17of simulations, and it is
- 29:18the same rationale
- 29:20as before.
- 29:21Ideally,
- 29:22this should be the same
- 29:23number of, like, subjects
- 29:25as
- 29:26the subject that I'm including
- 29:28in in my dataset,
- 29:29but that's also, like, going
- 29:30to take a little bit,
- 29:31like, longer. So I'm just
- 29:32going to include two.
- 29:35Lambda per two bit, I'm
- 29:36going to explain this, like,
- 29:38in one,
- 29:39in one second. But, basically,
- 29:41this is going to be,
- 29:42like, a specific
- 29:43lambda value that is going
- 29:45for each is going to
- 29:46be done, like, the perturbation
- 29:47analysis. Here, I'm going to
- 29:48just, like, select zero point
- 29:49two. And the number of,
- 29:51like, trials is the same
- 29:52thing as before. So this
- 29:54is going to be, like,
- 29:54the optimization trials for the
- 29:56model. So here, the model,
- 29:58they they're going to use,
- 30:00like, ten trials, like, to
- 30:01optimize the model, but that's
- 30:02going to take a long
- 30:03time. So here, I'm just
- 30:05going to select one.
- 30:08And,
- 30:08I think everything's
- 30:10oh, and the the final
- 30:11thing is this statistical test
- 30:13here. So this statistical test
- 30:14is going to, like, become
- 30:15more clear,
- 30:17when I when I show,
- 30:19like, the the
- 30:20once the figures are ready.
- 30:22But, basically,
- 30:24this this is statistical test.
- 30:26They are used to compare
- 30:27the turbulence statistics between functional
- 30:30networks and between groups.
- 30:32So here, we can use
- 30:33for a slider
- 30:34rank sum test for
- 30:38Wilcoxon
- 30:39rank sum test for independent
- 30:40groups. That is the
- 30:42signet rank test for dependent
- 30:44groups, paired groups. There is
- 30:45also independent,
- 30:47independent, like t test as
- 30:48well and and and else
- 30:50like permutation testing. For this
- 30:51particular example, I'm going to
- 30:53select the rank sum, which
- 30:55is like the default as
- 30:56we're dealing with
- 30:58independent groups.
- 31:00Then let's click continue.
- 31:02And then here's going to
- 31:03ask the name of, like,
- 31:04the name of, like, the
- 31:05conditions. Here, conditions are are
- 31:07just, like,
- 31:08groups or actual, like, conditions.
- 31:10So for instance, like, suppose
- 31:11you have
- 31:14task, like, functional MRI, and,
- 31:16you have, like, different, like,
- 31:17different, like, tests, and you
- 31:18want to compare, like, each
- 31:20to another. But in, like,
- 31:21in this case, we're comparing,
- 31:22like, different, like, age groups.
- 31:23So I'm going to put,
- 31:24like, child
- 31:26and,
- 31:27adult. If I had set,
- 31:30more groups because there was,
- 31:31like, a a a a
- 31:33particular a a tad,
- 31:35as in, like, for the
- 31:36number of, like, conditions, and
- 31:37there was, like, selected two.
- 31:38If I selected
- 31:39three, four, five, then it
- 31:41would ask, like, for the
- 31:42name of, like, each one.
- 31:44So let's click okay, and
- 31:46then it's going to start.
- 31:48And then that's going to
- 31:49take,
- 31:50a little bit, like, of,
- 31:51like, time. So while this
- 31:53is running, I'm going to
- 31:55run another example with you
- 31:57guys. Let me
- 32:05yeah. So in the previous
- 32:08example, we run the model
- 32:09based approach.
- 32:10Now we are going to
- 32:11run, like, the model three.
- 32:14So the model three is
- 32:15a little bit less simpler.
- 32:16So here, we just need
- 32:17to select the time series
- 32:19that we're going to use
- 32:21here. And just like, just
- 32:23as a brief reminder,
- 32:25here,
- 32:29here, we're only going to
- 32:31compute the turbulence that says
- 32:33all the empirical data.
- 32:35What we did here is
- 32:37to
- 32:38use the empirical data
- 32:40to feed a whole brain
- 32:42model like we did in
- 32:43the first talk, and then
- 32:44the perturbation
- 32:45statistics are going to be
- 32:46computed,
- 32:47on in the in the
- 32:49model. And in in in
- 32:50addition, the the perturbation analysis
- 32:52is going to, like, be
- 32:53to to be done as
- 32:54well. And these analysis, I'm
- 32:56going to explain in just,
- 32:57like, a moment.
- 32:58So now getting back, like,
- 33:00to the model free approach.
- 33:01So here, we loaded the
- 33:03the time series. Then we
- 33:05can also as before, we
- 33:06can load,
- 33:08the resting state like network
- 33:09in the center of mass.
- 33:11And here, we can notice
- 33:12that it's not asking for
- 33:13the structural connectivity. And the
- 33:15reason why it's not asking
- 33:16for the structural connectivity
- 33:17is because we're not going
- 33:19to feed the whole ray
- 33:20model. And since we're not
- 33:21going to feed the whole
- 33:21ray model, we don't need,
- 33:23the structural connectivity like matrices.
- 33:26And then the other parameters
- 33:27are kinda similar to before,
- 33:29so the same the the
- 33:30sample rate is the same.
- 33:32So it's it's determined by
- 33:33the data, so true and
- 33:35between, like, zero points. Then
- 33:36then the the band pass
- 33:37filtering, we have, like, between
- 33:39zero point zero four
- 33:40and zero point zero seven.
- 33:43The the,
- 33:45then the the
- 33:47the the time points that
- 33:48are going to be, like,
- 33:49selected as seen as before,
- 33:50one hundred and six eight.
- 33:54The lambda here, this is
- 33:55a little bit, like, faster,
- 33:56so I'm going to put
- 33:57a little bit, like, more
- 33:58lambdas here. So from zero
- 33:59point zero one to zero
- 34:01point three in zero point
- 34:03zero three steps.
- 34:04How many brain states? This
- 34:06was as, like, in the
- 34:07previous, like, pop up, but
- 34:08I didn't talk about this,
- 34:09when I was filling, only
- 34:11afterwards. So this is based,
- 34:12like, the number of, like,
- 34:13groups
- 34:14or conditions.
- 34:16And since we have, like,
- 34:17child and adult, I'm just
- 34:19going to leave this as
- 34:20two.
- 34:21And the statistical test is
- 34:22the same thing as as
- 34:24before, but,
- 34:25here's going to be, this
- 34:27this statistical test going to
- 34:28be used, like, to compare
- 34:30across be between, sorry, between
- 34:32functional
- 34:33networks and between, like, groups.
- 34:35So after I set this,
- 34:37let me click continue.
- 34:39Then same thing, child
- 34:42and then
- 34:44adult for each one of,
- 34:45like, the conditions. And then
- 34:47it's going to start running.
- 34:49Oh, here, I think. Oh,
- 34:51it's already finished.
- 34:53Great.
- 34:54So let me walk you
- 34:56through, like, the plots.
- 34:57So you this is a
- 34:59very interesting, like, feature of,
- 35:01like, this toolbox. Because if
- 35:03if you see after I
- 35:05run the the the toolbox
- 35:06in the toolbox, we don't
- 35:08even need to have, like,
- 35:09coding knowledge. We we just
- 35:10need to click,
- 35:14the the the prompts, and
- 35:15it it already, like, produces
- 35:17a a lot of publication
- 35:19already,
- 35:21figures. But let me let
- 35:23me walk you through each
- 35:24one of, like, these figures.
- 35:26So the first figure here
- 35:28is just, like, the model
- 35:29fitting
- 35:30for each one,
- 35:32of the the the groups.
- 35:34So on the left, we
- 35:35have, like, the child group,
- 35:36and on the right, we
- 35:37have
- 35:38the the adult group. On
- 35:40the x axis, we have
- 35:42the g the the the
- 35:43g range or, like, the
- 35:44g the the the global
- 35:46scaling variable. If you remember,
- 35:48we selected for each to
- 35:50be optimized between two point
- 35:51five
- 35:52and three, and this is
- 35:54like the range that we
- 35:55see here.
- 35:57Here is the optimization
- 35:59error because here,
- 36:01in in the in in
- 36:02the first talk,
- 36:03we
- 36:05we optimized g considering only
- 36:07the functional connectivity.
- 36:09Here in the in the
- 36:11in this, like, triple s
- 36:12like framework, they also use
- 36:13the functional connectivity,
- 36:15but they do
- 36:16this in a more sophisticated
- 36:18way because they they,
- 36:21they they transform the functional
- 36:23connectivity into some sort of,
- 36:25like, space binding functional connectivity.
- 36:27That is, like, how the
- 36:28functional connectivity
- 36:29varies
- 36:30across, like, the the difference,
- 36:32like, space scales. And they
- 36:34do this both for the
- 36:35for the empirical functional connectivity
- 36:38and for the simulated functional
- 36:39connectivity,
- 36:40and then they computed the
- 36:42error between the simulated and
- 36:44the empirical functional connectivities.
- 36:46And here, they want to
- 36:47try to minimize the error,
- 36:49which is the opposite that
- 36:50we were doing. We wanted
- 36:51to to,
- 36:53to maximize the correlation.
- 36:55So here,
- 36:56lower is better. So here,
- 36:58we found, like, the the
- 37:00optimal
- 37:01x here, you know, like
- 37:03and here for for the
- 37:04child and for the for
- 37:05the adults, I feel like
- 37:07three
- 37:08is a little bit, like,
- 37:09lower
- 37:10than,
- 37:11two point five. So this
- 37:13would be like the figure
- 37:14one would be like the
- 37:15model fitting,
- 37:17optimization.
- 37:19Then we have the turbulence.
- 37:22Now
- 37:23before I explain this plot,
- 37:26let me go back to
- 37:27the paper just to I'm
- 37:28I'm sorry. I'm sorry. Oh,
- 37:30sure.
- 37:32When this g parameter was
- 37:34optimized, does it mean that
- 37:36it is going like, in
- 37:37this case, it looks like
- 37:39it is different for adults
- 37:41and children.
- 37:42Right? So children
- 37:44is
- 37:45looks like it's more two
- 37:46point seven five, and adults,
- 37:48it's probably three.
- 37:49Does it mean that
- 37:51now these two different groups
- 37:53will be fitted using different
- 37:55parameters?
- 37:56Yes. Exactly. Exactly. Oh, yes.
- 37:58That's useful.
- 37:59Yes. Yes. Even even just
- 38:01just a side note,
- 38:03even in in the paper
- 38:04because after
- 38:06oh, sorry. My
- 38:08my computer
- 38:10oh, great.
- 38:11I wasn't able to move
- 38:13it. But, like, in the
- 38:14paper, they use, like, this
- 38:15model to compare, like, different
- 38:17conditions.
- 38:20Basically, I feel like they
- 38:21were watching, like, different people
- 38:22were watching, like,
- 38:24either, like, in the rest
- 38:26or watching different, like, types
- 38:27of, like, movies. And if
- 38:28you see here,
- 38:30each condition
- 38:31was optimized,
- 38:33had a different optimal,
- 38:35coupling strength like this this
- 38:37g.
- 38:38And then, like, the optimal
- 38:39g is going should be
- 38:40used for all,
- 38:43the the downstream, like, modeling,
- 38:45of, like, of the the
- 38:47models.
- 38:49Oh, but going back, like,
- 38:50to the paper just to
- 38:52explain to you guys,
- 38:54figure two.
- 38:55So here, we have this
- 38:57really
- 38:58sometimes, like, intimidating equations,
- 39:03for the the
- 39:05turbulence like statistics.
- 39:06And the first the first
- 39:08one
- 39:09is about, like, the ScodaMoto
- 39:10local order parameter,
- 39:12and and this is basically
- 39:14going to measure because turbulence
- 39:16is all about, like, synchronicity.
- 39:19So in
- 39:20let's say, like, in a
- 39:21plain language,
- 39:23the bold signal of, like,
- 39:24each region or each voxel
- 39:27or each vertex,
- 39:28it has some sort of,
- 39:30like, periodicity.
- 39:31Right?
- 39:32It is like it's
- 39:35phasic.
- 39:36So synchronism
- 39:37measures whether, like, two brain
- 39:39regions, two vertex, or vortex
- 39:41have, like, signals,
- 39:42like, in the same
- 39:44phase
- 39:45in a particular
- 39:46time point. And this is
- 39:48what this equation here is
- 39:50estimating for each region and
- 39:51for each time point.
- 39:53If for each, sorry, for
- 39:54each part of regions in
- 39:55each, like, time point, if,
- 39:59their their signals are, like,
- 40:02synchronized that is, like, in
- 40:03the same phase.
- 40:04And then using this, if
- 40:06we use, like, this measure,
- 40:07like, across all regions and
- 40:09across, like, all time points,
- 40:11we can compute what what
- 40:12they call, like, the amplitude
- 40:14turbulence, which is basically, like,
- 40:15the standard
- 40:16deviation
- 40:17of of how this,
- 40:20synchronization measures across, like, time
- 40:23and space.
- 40:24If you see the formula
- 40:25here, I believe
- 40:27there's a typo because they
- 40:29mentioned, like, the standard deviation,
- 40:31but the formula itself is
- 40:33a variance formula.
- 40:35And starting and standard deviation
- 40:36should be, like, the squared
- 40:37root of, like, the variance.
- 40:39So maybe there's missing here,
- 40:41like, just like the squared
- 40:42root.
- 40:43But this is
- 40:45what's being plotted,
- 40:47here.
- 40:48So if you look just
- 40:50going back here, this,
- 40:53all these formulas here,
- 40:55they take into account this
- 40:56Lambda, which I like you
- 40:58mentioned, like, before, which is
- 40:59like the spatial parameters that
- 41:00is going to control
- 41:02what is what is defined
- 41:04as nearby regions.
- 41:06So for instance,
- 41:07here,
- 41:08the synchronization,
- 41:09it takes into account, like,
- 41:10the distance distant, like, between
- 41:12regions. And here,
- 41:15the lambda parameters are going
- 41:16to,
- 41:18are going to the the
- 41:19lambda parameters are going to
- 41:20be used, like, to define,
- 41:21what is considered, like, nearby
- 41:23or distance regions in those,
- 41:25like, competitions.
- 41:26So here, we can see
- 41:27that for each person, which
- 41:29is represented as a dot
- 41:30so remember, I have, like,
- 41:31five children and five address,
- 41:33so we have,
- 41:34one point for each.
- 41:36We have for each one
- 41:37of, like, this space like
- 41:38parameters, like the lambda parameters,
- 41:41one
- 41:42amplitude turbulence.
- 41:43So here we can,
- 41:45compare,
- 41:46groups,
- 41:48in this,
- 41:49in this, turbulence to see,
- 41:51like, each one of, like,
- 41:52these groups has, like, more,
- 41:54more turbulence that is, like,
- 41:56more variability
- 41:58in the synchronization, like, between
- 42:00regions. And this was very
- 42:01similar to what even they
- 42:03did,
- 42:04in the analysis, like, reported,
- 42:06like, in the paper. See,
- 42:07they have, like, different, like,
- 42:08lambda parameters and then have,
- 42:09like, different,
- 42:11turbulence, like, measures here,
- 42:13across, like, the groups.
- 42:15And then we can move,
- 42:18forward, like, in these images.
- 42:20So here,
- 42:21it is across, like, both
- 42:23groups.
- 42:24This shows, like, the the
- 42:25slope of, like, the relationship
- 42:27between the Lambda and the
- 42:28turbulence to see if, like,
- 42:30the turbulence, like, increases
- 42:32or decreases,
- 42:33along the, like, with Lambda.
- 42:37Then we have, like, this
- 42:39other measure that is called,
- 42:40like, transfer. And then just,
- 42:41like, going back, like, to
- 42:42to the paper so I
- 42:43can show you
- 42:44the equation
- 42:47for you. So
- 42:49here is this order, like,
- 42:50measure that can be estimated.
- 42:52And this is based, like,
- 42:53the transfer of, like, information,
- 42:56between, like,
- 42:58among each,
- 42:59spatial, like, scale. So for
- 43:01instance, here, we have
- 43:04the the the synchronization, like,
- 43:05parameters for for each pair
- 43:07of, like, brain regions. We
- 43:08take, like, the correlation between
- 43:10them.
- 43:11And then with this, we
- 43:12can fit a linear model
- 43:14to see how much
- 43:15this correlation that is, like,
- 43:16the correlation between the the
- 43:19the the key the activity,
- 43:20like, the synchronization between, like,
- 43:21the the brain regions ver
- 43:23verize, like, with,
- 43:26with region. That is, like,
- 43:27how how with sorry. With,
- 43:29like, distance. That is, like,
- 43:31how,
- 43:31the information transfer across, like,
- 43:34occurs across, like, different, like,
- 43:35time scales. And this is
- 43:37what
- 43:38this plot is showing here
- 43:39for different, like, time scales.
- 43:42We can also
- 43:43in the same way that
- 43:44we did for the the
- 43:45the
- 43:47the amplitude
- 43:49amplitude turbulence, we can also
- 43:51do a slope that is,
- 43:53like, the relationship between, like,
- 43:55the transfer and the lambda.
- 43:59Here, there's another, like,
- 44:02mesh that can be estimated
- 44:03with the
- 44:05which is, like, the information
- 44:06cascade. And this is really
- 44:08interesting.
- 44:09This is how
- 44:11the information
- 44:12in a particular
- 44:13time scale
- 44:15influences
- 44:18another time scale in another
- 44:20point. So for instance, like,
- 44:22if we wanted
- 44:23a more,
- 44:26a more
- 44:27palpable,
- 44:28more practical example. So suppose
- 44:30that a particular brain region
- 44:31or set of regions,
- 44:33they have very local dynamics.
- 44:35That is, like, they influence
- 44:36each other, but in a
- 44:37really
- 44:39localized manner, just like a
- 44:40really decreased, like, set of
- 44:42numbers.
- 44:43So
- 44:44this the synchronization is going
- 44:46to only be captured by,
- 44:48by,
- 44:49spatial like scales that are
- 44:50more reduced. But suppose that
- 44:52for some reason, like, their
- 44:53activity,
- 44:54structure
- 44:55influence a larger set of
- 44:56regions.
- 44:57So this synchronization is going
- 44:59to affect, like,
- 45:00a larger
- 45:01spatial scale in the that
- 45:03it like, in in the
- 45:04next time point. So, basically,
- 45:06this is this is related
- 45:07to
- 45:08higher hierarchy
- 45:10of, like, the brain activity
- 45:11of, like, brain synchronization
- 45:13in which sometimes, like, really
- 45:14localized activity can drive
- 45:17more generalized
- 45:18activity, like, later on. And
- 45:20we can also, like, compute
- 45:21this using, like, this two
- 45:23point slide framework.
- 45:24Here, as we use, like,
- 45:26really
- 45:27a small number of, like,
- 45:28subjects, all the points ended
- 45:29up, like, one on the
- 45:31top of of the other
- 45:33for both, like, groups.
- 45:35And here here's
- 45:37here is also, like, an
- 45:38interesting analysis because as I
- 45:40mentioned, like, before, one of,
- 45:41like, the inputs to this
- 45:42model
- 45:43is an assignment between, like,
- 45:45each region and its its,
- 45:49the functional network to each
- 45:51each pertains.
- 45:52So here, we can compute
- 45:54the turbulence and amplitude the
- 45:55turbulence statistics for each,
- 45:58brain network. So we can
- 45:59see for each one of,
- 46:00like, these large scales
- 46:02brain networks how turbulence, like,
- 46:04affects them.
- 46:06And on the right,
- 46:08remember that we had the
- 46:09the status to select the
- 46:11statistical test.
- 46:13So here
- 46:14in this plot, for each
- 46:16one of, like, these anchors
- 46:17here, it shows the comparison
- 46:19between,
- 46:21the turbulence of a particular
- 46:22network
- 46:23and of another. So for
- 46:25instance,
- 46:26here, it's comparing, like, limbic
- 46:28to visual and showing, like,
- 46:29a significant different difference, like,
- 46:31for children. And same thing
- 46:32for limbic and somatamoto
- 46:35and so on and so
- 46:36forth, and the same, like,
- 46:37for adults.
- 46:40Here,
- 46:42are plots that are comparing
- 46:44each group
- 46:45in each network. So for
- 46:47instance, like, in the pre
- 46:48in in this figure, it
- 46:50is comparing, let's say, like,
- 46:52each network against each other
- 46:54network within each
- 46:56subject group.
- 46:59Here, it's different. Here, it's
- 47:00comparing, like, the same network
- 47:02between, like, the two groups.
- 47:03And the fact that no
- 47:05one all the plots are
- 47:06empty, it means that
- 47:08the groups were not so
- 47:10this is different in in
- 47:12the turbulence of, like, each
- 47:13network with statistical significance.
- 47:19And here, the final plots,
- 47:21they just
- 47:22compute,
- 47:24the turbulence of, like, each
- 47:26brain node the the the
- 47:28mean turbulence of, like, each
- 47:29brain node that is, like,
- 47:30of each region
- 47:31of of of each region
- 47:33for each group. And and
- 47:34for a particular Lambda, remember
- 47:36that we have, like, to
- 47:37select at the beginning,
- 47:39the the the Lambda for
- 47:40plotting and and then the
- 47:41the zero point I select,
- 47:43like, zero point two. So
- 47:44this happens
- 47:45this is compatible for children
- 47:47and for
- 47:50adults.
- 47:52Really publication ready plots.
- 47:55And finally
- 47:56oh, yes. So this this
- 47:58is also, like, very interesting
- 47:59because as I mentioned, like,
- 48:01before, this was, like, the
- 48:02result for the model based
- 48:04approach. And for the model
- 48:05based approach, what is done
- 48:07is that they use the
- 48:09empirical data
- 48:11to fit
- 48:12the
- 48:13Hopf model,
- 48:15this
- 48:18this model here.
- 48:19And this model is a
- 48:20little bit, like, different from
- 48:21the model that we we
- 48:22saw in the first talk,
- 48:24which because, like, the the
- 48:26model that was on the
- 48:27first talk is more, like,
- 48:28biologically driven in which,
- 48:30it defines,
- 48:32the activity of, like, particular,
- 48:34neuronoid populations and so on
- 48:36and so forth. This model,
- 48:38it,
- 48:40it,
- 48:41models each brain region as
- 48:43an oscillator.
- 48:45And then, like, the characteristics
- 48:47and the parameters of, like,
- 48:48this oscillator determines, like, the
- 48:49activity of of each brain
- 48:51region and how much each
- 48:53region interacts, like, among themselves.
- 48:55And the advantage of, like,
- 48:57using this model based approach,
- 48:58as I mentioned, like, before
- 48:59is because
- 49:01since this model based approach
- 49:02is based on parameters that
- 49:04we can tweak, we can
- 49:05run this perturbation analysis. And
- 49:08there are two perturbation analysis
- 49:09that they run and that
- 49:11are show, like, in those
- 49:12parts. One of these is
- 49:13the susceptibility
- 49:15analysis. So, like, this susceptibility
- 49:17analysis, it's going to measure,
- 49:18like, the magnitude of, like,
- 49:20the reaction of, like, the
- 49:21brain
- 49:22to a stimuli.
- 49:23So, like, if if we
- 49:25perturb the bang brain and
- 49:26they perturb the brain by
- 49:29by changing the verification parameter.
- 49:31And this parameter,
- 49:33it it regulates the activity
- 49:35of, like, each brain node.
- 49:37So this susceptibility
- 49:39analysis measure, like, how much
- 49:42in the roughly magnitude, how
- 49:44much this perturbation is going
- 49:45to change,
- 49:47the dynamics, like the turbulence
- 49:48of, like, the brain. And
- 49:49the information encoding capacity
- 49:52is is kinda like a
- 49:53similar metric, but it's it's
- 49:55also, like, unique in the
- 49:56sense that it it doesn't,
- 49:57like, capture, like, magnitude.
- 49:59It captures, like, if the
- 50:01same if if sorry. If
- 50:03different perturbations
- 50:04yield
- 50:05different,
- 50:06changes
- 50:07in,
- 50:08turbulence in in in synchronization.
- 50:10That is, like, if different,
- 50:11like, perturbations
- 50:13kinda encode different, like, source
- 50:14of, like, information.
- 50:16So this is something that
- 50:17we can only do after
- 50:19we fit,
- 50:20the the the model because
- 50:22we need, like, those parameters.
- 50:24And here, also, like, the
- 50:28the the the point for
- 50:29each group end up like
- 50:30one on top of of
- 50:31the other.
- 50:35And these are all the
- 50:36the the figures that you
- 50:37know, like, the parameters that
- 50:39are estimated for the
- 50:41the the model visit approach.
- 50:43And going back to the
- 50:44model free approach, we we
- 50:45will see that are kinda
- 50:47similar, but
- 50:48the difference here is that
- 50:50they are estimated
- 50:51on the real on the
- 50:52empirical functional
- 50:53MRI data. So this figure
- 50:55one is exactly similar
- 50:58to that,
- 51:00to this other figure. The
- 51:01only difference is because here,
- 51:04we included more lambda parameters,
- 51:06so we can see how
- 51:07the two blends vary in
- 51:09each group across, like, different
- 51:11spatial scale, like, parameters.
- 51:14The figure two
- 51:16is that same, like, slope
- 51:18that we saw here, but
- 51:19with, like, more lambdas because
- 51:21here we only select, like,
- 51:22two lambdas who we selected
- 51:24a lot. And then here
- 51:25we can see across group
- 51:27how the turbulence,
- 51:29varies,
- 51:30with, like, lambda.
- 51:33Here is the the the
- 51:35the the information transfer, the
- 51:37same same thing
- 51:40here that we we we
- 51:42saw that is, like, how
- 51:43the the the the
- 51:45the information is transferred, like,
- 51:47across,
- 51:48brain nodes for each spatial,
- 51:50like, scale.
- 51:51But here we have, like,
- 51:52more lambdas.
- 51:54We also have,
- 51:56the the slope with, like,
- 51:58more lambdas because here we
- 51:59only have,
- 52:01two two
- 52:02two lambdas.
- 52:05Here, we also have, like,
- 52:06the information, like cascade, you
- 52:08know, like, how
- 52:11the synchronization activity, like, in
- 52:12one special scale at one
- 52:14time points going through links,
- 52:16other time points,
- 52:17at other, like, special, like,
- 52:19scales.
- 52:22And here, we also have,
- 52:24like, the average
- 52:25across, like, functional networks
- 52:27and the difference between, like,
- 52:29the the the two blanks
- 52:30between each pair of functional
- 52:32networks for each group.
- 52:35Here are the differences
- 52:36between groups in each functional
- 52:38network. Here, we also didn't
- 52:40see any,
- 52:41statistically different,
- 52:43statistically significant differences.
- 52:46And here, finally When when
- 52:47you see MCA
- 52:49quotes, it means that there's
- 52:50no
- 52:51Yes. Yes. Because it would
- 52:53be for instance field radio.
- 52:55Mhmm. Yes. Yeah. Yes. Yes.
- 52:57It's in for for instance,
- 52:58like, here here, Helen,
- 53:00these these are colored
- 53:02because these were such as
- 53:04significant. If there were no
- 53:06no significant differences,
- 53:08this plot would also be
- 53:09empty, both both plots.
- 53:14And,
- 53:15yeah, and finally,
- 53:17this this is the same
- 53:18as as before. This is
- 53:20plotting the mean,
- 53:22node turbulence for each group
- 53:24in each, like, brain region.
- 53:25So this is, like, for
- 53:26a child,
- 53:27and this is for,
- 53:30for adults.
- 53:32Yeah.
- 53:33So in terms of, like,
- 53:35results, I think this is
- 53:37pretty much what I wanted
- 53:38to show. And one thing
- 53:39that I really want to
- 53:40emphasize is that it's really
- 53:42hard to come across
- 53:44a toolbox,
- 53:45you know, that is so
- 53:46intuitive
- 53:47and offers
- 53:48the the possibility of just,
- 53:51you know, like, of,
- 53:53agree. You know, like, a
- 53:54user interface
- 53:55in which you can just,
- 53:56like, select, like, the parameters,
- 53:57and then everything, like, is
- 53:59run if with, like, publication,
- 54:01like, ready plots. But if
- 54:02you also want to, like,
- 54:04like, tweak the calls and
- 54:05run the calls and then
- 54:06self, it's also, like, possible.
- 54:08So I was really amazed
- 54:10at this this toolbox.
- 54:12So it's it's it's really
- 54:13a black box. Right? You
- 54:15you really don't have to
- 54:16know what is going on
- 54:17in the result.
- 54:19No. You You have to
- 54:19just understand you have to
- 54:21understand the paper and understand
- 54:23how to read figures.
- 54:24Exactly. Exactly. So so for
- 54:26instance, like, if you have
- 54:27if you have a notion
- 54:28of, like, the input
- 54:30and the output,
- 54:32that's usually enough.
- 54:34However, if you want to
- 54:35run some sort of, like,
- 54:37complicated analysis
- 54:39or, yeah, variations, then you
- 54:41need to change, like, the
- 54:42code. But that's very, very
- 54:43good because I think,
- 54:47some
- 54:47sometimes, like,
- 54:49the fact that this option
- 54:51of, like, of a user
- 54:52interface or for, like, a
- 54:53clear user interface
- 54:56that this doesn't exist, that
- 54:57I feel like prevents a
- 54:58lot of, like because because
- 54:59for instance, I I myself,
- 55:01I
- 55:02I Slow.
- 55:04Exactly.
- 55:05Yes. Yes. Yes. So I
- 55:07I really I really like
- 55:08their
- 55:09concern of actually implementing this.
- 55:11I think it's really
- 55:13for instance, like, FSL
- 55:14FSL, you can do
- 55:16in terminal, but there's a
- 55:18lot of, like, user interfaces
- 55:20that you can use as
- 55:21well.
- 55:22So I feel like this
- 55:23concern or I think
- 55:24it improves,
- 55:26usage. You know? It is
- 55:28it becomes yeah. Yeah.
- 55:30But in
- 55:32if if you have any
- 55:33questions, I would be happy
- 55:35to
- 55:36to transfer either, like, from
- 55:38this or the previous talk.
- 55:43Yeah. So,
- 55:44guys in the room,
- 55:46do do do you have
- 55:47any questions at all about
- 55:48anything,
- 55:50throughout
- 55:52the whole series of talks?
- 56:02Okay.
- 56:05No. I I think I
- 56:07it sounds cheesy, but I
- 56:08think I'm just going to
- 56:09go and play with the
- 56:10tool.
- 56:13Yes. You know, I was
- 56:14the toolbox. Yeah. Yeah. I
- 56:16was really amazed by by
- 56:17this toolbox and, like, the
- 56:18theory, like, behind it. I
- 56:20think
- 56:21it's it's really amazing. I
- 56:22think, like, we can
- 56:24we can gouge so
- 56:26so much more information, like,
- 56:27from fMRI data with with,
- 56:30like, those those approaches.
- 56:32So yeah. Because here, I
- 56:34think
- 56:35the whole question
- 56:37about,
- 56:38neural data is frame different
- 56:40here. Right? It is very,
- 56:42information theoretic. And
- 56:45to me, personally,
- 56:48I love it
- 56:50because when we talk about
- 56:52brain just kind of within
- 56:53hours, we say the information
- 56:55processing machine, and it's all
- 56:57about effectiveness
- 56:59and how information
- 57:00is transition.
- 57:01But we've done the go
- 57:02through imaging data and look
- 57:04at linear correlations.
- 57:06And of course, there is
- 57:07a mismatch
- 57:09between,
- 57:10computational
- 57:11approach and
- 57:12theoretical discussion. And this is
- 57:14where it's much, much closer
- 57:16because there's an attempt to
- 57:18frame data
- 57:20in the context of information
- 57:21transfer.
- 57:23Yes. So that seems to
- 57:25be much more aligned to
- 57:26what how we think about
- 57:27the brain.
- 57:28Yes.
- 57:29But but yes. Yes. I
- 57:31I I the only thing
- 57:32is that I think
- 57:34it's
- 57:35more complicated.
- 57:36So I think I think,
- 57:37like, because the the question
- 57:39that he asked, like, beforehand,
- 57:40I think is crucial. You
- 57:41know? What is the utility?
- 57:43You know, like, I mean,
- 57:44like, we are doing all
- 57:45this computations.
- 57:47You know what? What at
- 57:48the end of, like, the
- 57:49day, what we are going
- 57:50to gain with with that.
- 57:51You know? And I think,
- 57:52like,
- 57:53this needs to be clear,
- 57:55you know, like, from the
- 57:55get go. You know? Like,
- 57:56the the the benefits, you
- 57:58know, like, of doing this
- 57:59instead of, like, just order
- 58:00analysis. And we are not
- 58:01seeing that the order analysis,
- 58:03like, standard, like, functional is
- 58:05is bad. No. No. Very
- 58:06useful as well. Yeah. It's
- 58:08just, like, different. You know?
- 58:09But I I think we
- 58:10need to to
- 58:12we we lean
- 58:14we
- 58:15we really need to
- 58:17to in the same way
- 58:18that the the the the
- 58:20authors have, like, the concern
- 58:21to go and implement this
- 58:23user interface. I feel like
- 58:25if we publish
- 58:26papers, like, in this methodology,
- 58:28apply, like, to psychiatry or
- 58:29any other, like, more,
- 58:32more clinical field, I think
- 58:33we need to make it
- 58:34clear, you know, like, what
- 58:35are, like, the benefits.
- 58:39For me, yeah, for me,
- 58:40it's much easier to explain.
- 58:43We we frame psychiatric condition
- 58:45as disorder brain,
- 58:48and this is exactly
- 58:50about it. Right? So we
- 58:51can translate this word disorder
- 58:55very,
- 58:56explicitly
- 58:57what is disorder
- 58:59information
- 58:59transfer
- 59:01disorder.
- 59:02Yeah. Yeah. What what I
- 59:04for for me personally, and
- 59:05I'm only scratching, like, the
- 59:07surface of, like, these these
- 59:08models. I think
- 59:10for me is because
- 59:12if if
- 59:14I mean, like, people in
- 59:15general, I mean, I'm saying,
- 59:16like
- 59:18or or mood or or
- 59:20feelings, you know, like, they
- 59:23vary a lot,
- 59:24you know, like, across
- 59:26time. And and I think
- 59:28that's very important.
- 59:30And I think if we
- 59:31use
- 59:32an an analytical tool
- 59:34that loses,
- 59:36you know, like, this time
- 59:38time dimension,
- 59:39yes, I I I I
- 59:40think I I I I
- 59:41think that's not going to
- 59:42lead to
- 59:44to anywhere, you know, like,
- 59:45insightful. You know? I I
- 59:47think the the time dimension
- 59:49is really because that's when
- 59:51the person went to feel
- 59:52some bad something bad or
- 59:54to take up to make
- 59:56a bad decision.
- 59:57So to understand, you know,
- 59:58like, how the brain
- 60:00gets to the point and
- 01:00:01then moves away from this
- 01:00:03point, you know, I feel
- 01:00:04like this
- 01:00:06but but if we if
- 01:00:07we just, you know,
- 01:00:09aggregate,
- 01:00:10merge all time, We are
- 01:00:12not going to get there.
- 01:00:14We're we're not it's it's
- 01:00:15it's impossible, you know, like,
- 01:00:17to to describe
- 01:00:18the
- 01:00:20the the behavior that the
- 01:00:21person, like, expresses, like, the
- 01:00:23thought that someone has, like,
- 01:00:25in let's say, like, in
- 01:00:25a couple of minutes, but
- 01:00:27just, like, a
- 01:00:28a two d
- 01:00:29snapshot. You know?
- 01:00:31The the this this time
- 01:00:32dimension, I think, is very
- 01:00:34important. And and trying to
- 01:00:35understand, like, where,
- 01:00:37you know, like, in the
- 01:00:38brain
- 01:00:39things happen. I think it's
- 01:00:41also, like, very important. I
- 01:00:42I remember,
- 01:00:43when I was doing, like,
- 01:00:45my my PhD, like, back
- 01:00:46in Brazil. I think I
- 01:00:47I told you, like, the
- 01:00:48story. There was, like, this
- 01:00:49patient,
- 01:00:51with with OCD, and then,
- 01:00:54they had a stroke
- 01:00:57in a particular ring region.
- 01:00:59After this stroke,
- 01:01:01they developed
- 01:01:02OCD,
- 01:01:04and then afterwards, they had
- 01:01:06a stroke in the exact
- 01:01:07same region.
- 01:01:09And then they were cured
- 01:01:11from OCD.
- 01:01:12You know? And before?
- 01:01:14Yeah. No. No. Yes. Yes.
- 01:01:15But but but the but
- 01:01:16the thing is why
- 01:01:18in this particular Yeah. Person,
- 01:01:21having
- 01:01:22a stroke was like a
- 01:01:24on and off switch, you
- 01:01:25know, that could Yeah. Determine
- 01:01:27and and the same thing
- 01:01:28happens sometimes with, like, DBS,
- 01:01:31deep brain simulation, or Gamma
- 01:01:32Knife patients. You know? Like,
- 01:01:34why sometimes we
- 01:01:35really,
- 01:01:38get, you know, like,
- 01:01:40get to the right point
- 01:01:41and sometimes we completely miss,
- 01:01:42you know, like so all
- 01:01:44this also, like, this spatial
- 01:01:46information, I think it's very
- 01:01:47precious, you know, and I
- 01:01:48think, like, approaches such as,
- 01:01:49like, the disturbance box that
- 01:01:51try to leverage both both,
- 01:01:52like, the space space and
- 01:01:54time,
- 01:01:55I think this is really
- 01:01:57the future, you know, like,
- 01:01:58how we should look forward.
- 01:02:02Yeah. Agreed.
- 01:02:03Thank you so much. I'm
- 01:02:04good. Helen.
- 01:02:06Thank you.