fetch_files: fetch ScanR result/export files

Description Usage Arguments Details

View source: R/fun-fetch_files.R

Description

Copy all ScanR result files, chosen parameter data files, and the screen log into a single location.

Usage

1
fetch_files(where.from, where.to, object = "Main", verbose = TRUE)

Arguments

where.from

directory where all screen data is stored; defaults to current working directory, otherwise must be an existing directory

where.to

directory where all files will be copied; defaults to current working directory, otherwise may be any directory; a non-existing one will be created

object

regular expression that defines which ParameterData files to copy; defaults to Main; set to NULL to skip ParameterData files

verbose

logical flag; specifies whether to report progress

Details

The master directory specified by where.from will contain scan directories, which may contain exported result files stored in "Population Data" subdirectories. They may also contain parameter data files, which are named "ParameterData_object.txt". All result files and parameter data files where object name matches object will be copied to the where.to directory. Hidden files will be omitted.

Names of scan directories, which are usually plate numbers, are added to all respective file names.

If the master directory contains files whose names match regular expressions "screenlog" and "layout", they will also be copied.


olobiolo/siscreenr documentation built on Nov. 26, 2021, 3:08 p.m.