Function will create a data.frame based on a ggseg3d atlas, based on the contours of each segment.
make_ggseg3d_2_ggseg( ggseg3d_atlas, steps = 1:7, output_dir = tempdir(), tolerance = 0, smoothness = 5, cleanup = FALSE, ncores = 2 )
| ggseg3d_atlas | object of class ggseg3d-atlas | 
|---|---|
| steps | numeric vector of steps to run | 
| output_dir | output directory path | 
| tolerance | tolerance during vertex reduction  | 
| smoothness | smoothing factor, argument to  | 
| cleanup | logical to toggle removal of all intermediary files | 
| ncores | number of cores for parallel processing (default numcores-2) | 
data.frame ready for manual cleaning before turning into a proper ggseg3d-atlas
if (FALSE) { # Create the DKT atlas as found in the FreeSurfer Subjects directory # And output the temporary files to the Desktop. dkt_3d <- make_aparc_2_3datlas(annot = "aparc.DKTatlas", output_dir = "~/Desktop/") }