
Checks whether the input file is valid for use with the tidy_plate() function
Source: R/check_plate.R
check_plate.Rdcheck_plate() performs quality checks on the input microwell shaped data and
throws an error if there is any discrepancy. The user can either fix the input
file or use the build_plate() function to build a template csv or xlsx file.
Value
A message indicating whether the input file is compatible with the
tidy_plate() function
Details
Validation reports the first detected problem with file, plate and cell coordinates when available. Coordinates refer to the imported table.
Examples
file_path <- system.file(
"extdata",
"example_12_well.xlsx",
package = "tidyplate"
)
check_plate(file = file_path)
#> example_12_well.xlsx: OK; Plate type: 12-well