Hi all, I am wondering with Nilearn whether it is possible to plot ROIs based on coordinate with same color in the same group, and then save it into nii file?
here is the example data, (x,y,z) is coordinate values, and column of group is the the group each ROI belongs to.
` x y z group
0 -34.0239520958084 -40.1017964071856 -22.0059880239521 3
1 -36.3230769230769 -55.6 -18.4307692307692 4
2 -26.0408163265306 -45.0612244897959 -13.8163265306122 4
3 -28.6739926739927 -35.9267399267399 -14.8791208791209 3
4 -28.3012048192771 -62.1927710843374 -13.2289156626506 3
5 -35.7305699481865 -70.6113989637306 -16.1554404145078 1
6 -44.876404494382 -69.8089887640449 -13.7752808988764 3
7 -24.3027888446215 -58.2709163346614 -8.95617529880478 3
8 -22.3983050847458 -74.8305084745763 -9.33050847457627 1
9 -40.9387755102041 -78.9387755102041 -13.8639455782313 2
10 -18.75 -36.2166666666667 -12.55 3
11 -24.23598820059 -85.9233038348082 -15.4749262536873 2
12 -21.3461538461538 -49.4487179487179 -6.41025641025641 3
13 -39.136 -86.752 -15.936 3
14 -13.4436090225564 -83.7894736842105 -14.2105263157895 1
15 -46.1428571428572 -71.8392857142857 -5.49107142857143 2
16 -9.47222222222223 -75.537037037037 -8.30555555555556 1
`
Thanks for any help and suggestions~