check_scan: check scan completion

Description Usage Arguments Details Value Functions Warning

View source: R/fun-scan_status.R

Description

Report wells with missing images or logged events (e.g. errors).

Usage

1
2
3
check_scan(path, output = "print")

scan_status(path, output = c("print", "return"))

Arguments

path

path to directory where scans are stored

output

type of output: print/console for printing to the console, return/list for returning a named list; determined by partial match

Details

This is a reporting utility specific to ScanR systems.

check_scan first lists all directories in a given location and identifies recent scans by their numeric suffixes Then, it lists all .tif files in the appropriate data directories and checks the well names, for which the number of collected images is different to the maximum of all wells.

scan_status also checks which wells (if any) had any events logged in the ScanR acquisition log and (in console mode) informs whether the scan is complete or still ongoing.

scan_status is the new, superior version. check_scan will be deprecated in time.

Value

In console/print mode - nothing. In list/return mode, a named list. Information on scan completion by scan_status only appears in console mode.

Functions

Warning

scan_status is a work in progress. Some errors may escape notice. Due to ScanR log formats the reported events may be assigned to a neighboring well.


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