Description Usage Arguments Value
View source: R/create-ggseg-atlas.R
Function will create a dataframe based on a ggseg3d atlas, based on the contours of each segment.
1 2 3 4 5 6 7 8 9 | make_ggseg3d_2_ggseg(
ggseg3d_atlas = ggseg3d::dk_3d,
steps = 1:6,
output_dir = tempdir(),
tolerance = 0,
smoothness = 10,
cleanup = FALSE,
ncores = parallel::detectCores() - 2
)
|
ggseg3d_atlas |
object of class ggseg3d-atlas |
steps |
number of 1:6 of which steps to run through |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.