ThomasYeoLab / CBIG

MIT License
570 stars 380 forks source link

Group atlas selection #21

Closed trichtu closed 2 years ago

trichtu commented 3 years ago

I found in the scripts of group priors exstimation: for example: CBIG_ArealMSHBM_cMSHBM_estimate_group_priors_parent(project_dir,mesh,num_sub, ... % num_sess,num_clusters,beta,tmp_dir, max_iter)

there are only numbers could be selection, that means he group atlas used here is only supported Schaefer et al., 2018. It is very helpful to a term to select other atlas used in the group priors to produce atlas. For example, I have an group atlas on fs_LR32k, could I used it in this method?

rubykong commented 3 years ago

You can choose your own group atlas. The group atlas will be used in step1 and the results will be saved in a file which will be used in the later steps. You can go through the example readme first, which covers tutorials for all the steps in detail.

Specifically, CBIG_ArealMSHBM_generate_ini_params_Schaefer.m calls a general function which works for any parcellation CBIG_ArealMSHBM_generate_ini_params.m. Similarly, CBIG_ArealMSHBM_generate_radius_mask_Schaefer.m calls a general function which works for any parcellation CBIG_ArealMSHBM_generate_radius_mask.m