sina-mansour / UKB-connectomics

This repository will host scripts used to map structural and functional brain connectivity matrices for the UK biobank dataset.
https://www.biorxiv.org/content/10.1101/2023.03.10.532036v1
62 stars 7 forks source link

Ask for the order of regions in pre-calculated structural connectivity matrix #41

Open hitrp opened 9 months ago

hitrp commented 9 months ago

Dear Sina,

Thanks for the great contribution to the community, I am exploring the four pre-calculated structural connectivity matrices available in UKBiobank, but I couldn't find the corresponding order of regions, am I missing something?

Best wishes, Peng

sina-mansour commented 9 months ago

Dear Peng,

Thanks for raising this issue and sorry if this information was not provided.

So basically, for the structural connectivity; the matrices are combinations of cortical and subcortical regions. Respective region labels are provided in the atlas labels directory. Particularly, the labels are all cortical regions followed by all subcortical ones.

Let me give you a simple example. Let's say you're interested in the structural connectivity matrices for "Desikan Killiany + MSA - scale I"; then the first 68 cortical regions are labeled according to Desikan Killiany (aparc) labels (also see this) and the next 16 subcortical regions are labeled according to MSA scale I labels.

I hope this clarifies any ambiguities. I will be closing this issue for now. Feel free to let me know if anything is unclear and needs further explanation.

Best, Sina

Lestropie commented 9 months ago

It's common to desire a lookup table that has direct correspondence with matrix data being interrogated. This may be necessary for eg. visualisation if one wants to embed the data in a visual space or show parcel labels in the x-axis or y-axis ticks. Indeed in MRtrix3 I deliberately designed the sequence of processing steps so that there would be correspondence between the contents of a lookup table and the rows / columns of the generated matrix. So pre-calculating and distributing lookup tables for the pre-generated matrices may be a reasonable idea.

Indeed in the usage scenario where users generate their own matrices from flexible selections of cortical & subcortical parcellations, the capability to concatenate the corresponding lookup tables in the same order as what is done to the parcel label image data might be of utility also. But would be a bit more effort than just doing the seven pre-calculated configurations manually.

sina-mansour commented 9 months ago

Yes indeed, I can see the utility of such a script. Alright then, I'll reopen this issue for now and this to my to-do list. I will probably write a short script that generates lookup tables for combined (cortical + subcortical) parcellation schemes. I will also include the combined lookup tables for our particular selections of pre-computed SC matrices for the sake of simplicity.