Skip to content

Seeking advice on visualizing Ji’s network in nilearn  #4

Description

@Guanyunlph

Thank you for sharing your code!
I am recently analysing hcp data using Glasser’s (2016) atlas with 360 parcells and I would like to use Ji et al.'s (2019) twelve functional network.
A necessary work is for me to visualise Ji’s network, and I followed your code "https://github.com/CoAxLab/cofluctuating-task-connectivity/blob/main/notebooks/05-plot_edge_atlas_circos.ipynb" in nilearn.

I created network_labels,and got the below result
{0: 'Visual1', 1: 'Visual2', 2: 'Somatomotor', 3: 'Cingulo-Opercular', 4: 'Language', 5: 'Default', 6: 'Frontoparietal', 7: 'Auditory', 8: 'Posterior-Multimodal', 9: 'Dorsal-attention', 10: 'Ventral-Multimodal', 11: 'Orbito-Affective'}

Then, I followed the code

shen_rsn_img_4d = []
for ii in rsn_ids:
    node_ixs = shen_rsns[shen_rsns.Network == ii]["Node"]
    temp = np.zeros_like(atlas_img.get_fdata())
    for nix in node_ixs:
        temp[atlas_img.get_fdata()==nix]=1
    shen_rsn_img_4d.append(image.new_img_like(atlas_img, temp))
shen_rsn_img_4d = image.concat_imgs(shen_rsn_img_4d)

node_ixs in my code is the ROI belonging to each network

but, I gote

image

Are there some suggestions for me to visualise Ji’s network in nilearn? Or even to visualise Ji’s network based on some quantitative values. Thank you!

Glasser, M.F., Coalson, T.S., Robinson, E.C., Hacker, C.D., Harwell, J., Yacoub, E., Ugurbil, K., Andersson, J., Beckmann, C.F., Jenkinson, M., Smith, S.M. & Van Essen, D.C. (2016) A multi-modal parcellation of human cerebral cortex. Nature, 536, 171-178.

Ji, J.L., Spronk, M., Kulkarni, K., Repovš, G., Anticevic, A. & Cole, M.W. (2019) Mapping the human brain’s cortical-subcortical functional network organization. NeuroImage, 185, 35-57.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions