Skip to contents

view_plate_names() returns the names of all plates in the input file as a character vector. In case of empty or duplicates it diplays a warning and then returns the plate names.

Usage

view_plate_names(file, 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.

sheet

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

Value

A character vector

Examples

file_path <- system.file("extdata", "example_12_well.xlsx", package = "tidyplate")

data_12 <- view_plate_names(file = file_path)

data_12
#> [1] "drug"             "cell_line"        "percent_survived"