mri_vol2vol() wraps FreeSurfer’s
mri_vol2vol to resample a volume onto another volume’s
grid, using either a registration (reg) or the volumes’
headers (regheader = TRUE).fs_flag_cmd() is a new helper for flag-based FreeSurfer
commands (--flag value), the counterpart to
fs_cmd() for positional
<input> <output> commands. It assembles the
command from a named list of flags and is what
mri_vol2vol() is built on.readmgz() is deprecated, use read_mgz()
insteadreadmgh() is deprecated, use read_mgh()
insteadset_fs_subj_dir() is deprecated, use
Sys.setenv(SUBJECTS_DIR = path) or
options(freesurfer.subj_dir = path) insteadget_fs() returning a vector instead of a string
when add_home = FALSE, which caused malformed commandsmri_mask() argument order: now correctly passes
<input> <mask> <output> to
FreeSurfernii2mnc() and
mnc2nii() now in single file with shared validationtrac_all() and
trac_manual() merged into tracker.Rfs_cmd() with improved same-file handling and
error checkingcheck_fs_result() for consistent FreeSurfer command
result validationfs_abort(),
fs_warn(), fs_inform() wrapping cli
packagewarning, stop,
message and cat with corresponding
cli functions for more modern stdout and
stderr outputfs_sitrep() to check, verify and output
information on FreeSurfer-R communicationget_fs() with new get_fs_*
functions for fine-grained control of each settingroxygen2 template for consistent
fs_home parameter documentationmri_convert() with better format validation and
error handlingmri_info(), mri_mask(),
mri_segment(), mri_watershed() with consistent
patternsmri_synthstrip() with better parameter
handlingmris_convert() family and
mris_euler_number() with better output handlingnu_correct() with better MNC file handlingstats2table() with better error messagessurf_convert() with better output parsingread_annotation(),
read_aseg_stats(), read_fs_table() with better
error handlingread_fs_table() with separator
auto-detectionfreesurfer_read3() with better error
messagestempfiles if
necessary... to all functions that call
fs_cmd, to allow user control of
system().mri_synthstrip.neurobase - need new push to CRAN.fslr checking.have_fs,source vs . when using Linux
machines.read_annotation for reading annotation
files.mri_deface to the NAMESPACE and
capabilities.Released to CRAN after major changes to the package.
Added a NEWS.md file to track changes to the
package.