tidy_plate {tidyplate} | R Documentation |
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.
tidy_plate(file, well_id = "well", sheet = 1)
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. |
A tibble.
build_plate()
, generate_plate()
file_path <- system.file("extdata", "example_12_well.xlsx",
package = "tidyplate"
)
data_12 <- tidy_plate(file = file_path)
head(data_12)