# submodule mat_exp_frontend # # @description Run the ExpFrontend.m program # # This submodule: # # * Pushes into the Study template directory (ExpTemplate) # # * Prompts the user to run ExpFrontend.m # # * Pops out # # NOTES: # # * ExpFrontend.m should be or is being rewritten # mat_exp_frontend() { # debug "Running: ${FUNCNAME[0]}" # cat <<-EOF # ExpFrontend.m was made for recording into a spreadsheet # ('StudiesDataArchive.txt') the date and files used (i.e., directory paths to the # !!Results files used as input for Z-interaction script) for each multi-experiment study. # Run the front end MATLAB programs in the correct order (e.g., run front end in "exp1" # folder to call the !!Results file for the experiment you named as exp1 in the StudyInfo.csv file) # The GTA and pairwise, TSHeatmaps, JoinInteractions and GTF Heatmap scripts use this table # to label results and heatmaps in a meaningful way for the user and others. # The BackgroundSD and ZscoreJoinSD fields will be filled automatically according to user # specifications, at a later step in the QHTCP study process. # COpen MATLAB and in the application navigate to each specific /Exp folder, # call and execute ExpFrontend.m by clicking the play icon. # Use the "Open file" function from within Matlab. # Do not double-click on the file from the directory. # When prompted, navigate to the ExpJobs folder and the PrintResults folder within the correct job folder. # Repeat this for every Exp# folder depending on how many experiments are being performed. # The Exp# folder must correspond to the StudyInfo.csv created above. # EOF # script="ExpFrontend.m" # if ! ((YES)) && # ask "Start MATLAB to run $script? This requires a GUI."; then # $MATLAB -nosplash -r "$script" # fi # }