Skip to contents

Indicates a disparity between files present and/or parameters. Returns warning message with missing file information and allows user to exclude processing data that are missing either the data file or experimental parameters. This is important, as helper functions, import_experiment_parameters, can generate environment variables from these parameters, and analysis function arguments can easily point to those values.

Usage

import_check_missing_info(dir_filenames, parameters, skip_prompt = FALSE)

Arguments

dir_filenames

Character vector of files within the working directory

parameters

Data frame with experimental parameters

skip_prompt

Logical, skips warning messages and user prompts, automatically will remove files missing parameters from the files_to_process list. Defaults to FALSE.

Value

Character vector files_to_process in the matools_env.

See also

Examples

if (FALSE) {
library(matools)

set_pkg_environment()
set_data_directory()
import_experiment_parameters()
import_check_missing_info(
  matools_env$files_in_folder,
  matools_env$parameters
)

print(matools_env$files_to_process)
}