ggseg / ggseg3d

ggseg3d R package for cisualising brain atlases through plotly
https://ggseg.github.io/ggseg3d/
Other
27 stars 9 forks source link

Can ggseg3d plot specific regions from the DK atlas? #20

Open bertram0611 opened 1 month ago

bertram0611 commented 1 month ago

Hi experts,

I want to plot a specific region, such as the temporal pole from the DK atlas. Put another way, I want to keep the color of the temporal pole, simultaneously changing other regions to white. How can I realize this purpose?

Best, Lin

bertram0611 commented 4 weeks ago

Hi

I am also wondering how to use the script to save 3d figures as 2d files(PDF, tiff, etc.) with a high resolution for publication.

Best, Lin

zhangjb35 commented 4 days ago

For your second question, try this code. assume p is you object generated by ggseg3d, you should install reticulate and config it successfully:

library(reticulate)
use_miniconda('r-reticulate')
py_run_string("import sys")
save_image(p, "left.png",scale=3)
gc()