Closed wjddyd66 closed 3 years ago
What is your intention? Do you want the left hemi to disappear, or do you want it to be completely white, or something else?
If you do not want the left hemisphere to be rendered at all, you can use lh_region_value_list=NULL
.
If you want it all white, use lh_region_value_list = rep(NA, 36);
(aparc atlas has 36 regions).
Thanks for reply...
But have a question of your answer.
I tried lh_region_value_list=NULL
But, Result is below.
There is no picture of left-hemi....
And lh_region_value_list = rep(NA, 36);
Like this...
left-hemi is black...
I simply want the result to be left-hemi white, with no surface painted. Is it possible as a package of fsbrain currently provided?
The first picture you show works as intended: setting the list to NULL disables drawing of the mesh.
The color in the second picture is the default background color, which is black for fsbrain <= 0.4.3.
The background color can be configured in the current dev version of fsbrain, and it defaults to white there. So if you install the dev version and simply re-run the second command, you will get what you want:
To install the dev version, you will have to do 3 things:
1) start a fresh R session in which fsbrain is NOT loaded 2) install like this:
install.packages("devtools");
devtools::install_github("dfsp-spirit/fsbrain", ref="geodesic");
3) start a fresh R session (just to be sure) and load fsbrain. To verify that you have the proper version, run packageVersion("fsbrain")
, which should print 0.5.0
.
Thank you it works!!!!
Great to hear that!
My code Like This...
How can I avoid putting any values in lh_region_value_list?
lh_region_value_list = list();
Or if i don't put "lh_region_value_list" it won't work.
I couldn't find it in the manual, so I left it as an Issue....