tidy_plate {tidyplate}R Documentation

Reads and transforms microwell plate to a tibble

Description

tidy_plate() reads a microwell plate shaped csv or excel file and returns a tibble for downstream data analysis. In order to create an template file use the build_plate() function.

Usage

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

Arguments

file

A character string containing the path to a csv or excel file. The format is described below.

well_id

A character string that will be the name for the well id column.

sheet

A character or integer indicating the excel sheet to be read.

Value

A tibble.

See Also

build_plate(), generate_plate()

Examples

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

data_12 <- tidy_plate(file = file_path)

head(data_12)

[Package tidyplate version 2.2.0 Index]