Skip to contents

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.

Usage

reset_mouse_root(m, input_path = NULL, print = TRUE)

Arguments

m

mouse object

input_path

(default = NULL) Reset the root directory of the mouse object.

print

(bool, default = TRUE) Print the changes in the console.

Value

m a mouse object

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.