Skip to contents

Checks whether the input file can be used to transform to a tidy plate using the tidy_plate() function

Usage

check_plate(file, well_id = "well", sheet = 1)

Arguments

file

This is the path to a xlsx or csv file containing data for the following types of plates: 6, 12, 24, 48, 96, 384, and 1536. The plate format is described below.

well_id

This is takes a character of length 1 and cannot be the same as individual plate names.

sheet

If file type is xlsx this is the sheet name (character) or number (integer).

Value

An error or a message saying that input file can be used with the tidy_plate() function

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