Reset the root path for the folder containing the registration and segmentation data.
reset_mouse_root.Rd
This function takes a mouse object and also a input_path
as the root folder for that mouse.
It then adjusts all the paths for the registration and segmentation data read to be relative to the root folder.
This function is especially useful if you have changed the computers you are analyzing and drive mappings may be different.
Arguments
- m
mouse object
- input_path
(default = NULL) Reset the root directory of the mouse object.
(bool, default = TRUE) Print the changes in the console.
Examples
m <- reset_mouse_root(m, input_path = "C:/Users/Documents/Mice/mouse_1/", print = TRUE)
#> Error in reset_mouse_root(m, input_path = "C:/Users/Documents/Mice/mouse_1/", print = TRUE): There were no registration files found in the directory set as the input path. Please recheck where your folder is.