read_plate_layout: Read a plate layout file into a tibble

Description Usage Arguments Details Value

View source: R/layouts_to_instructions.R

Description

This is pasted exactly from the dsfworld package. Sloppy, i know, but I don't know how to add dependencies to internal packages, and since its the only one in this package, i feel like it's ok?

Usage

1

Arguments

filepath

A complete file path, pointing to the plate layout file

Details

read_layout() reads a plate layout file (.csv, .txt, .xls, or .xlsx), and returns it as a formatted tibble. Variable types are guessed with readr::parse_guess(). The originally required "Type" column heading is now optional.

Value

Returns a tibble, mapping experimental variables to well positions. All outputs contain the columns: row, column, and well. Additionally, a single column is added for each user-defined variable in the plate layout file, from which one additional "condtion" column is created, which contains all experimental variables. If all experimental variables are defined in the layout, wells with identical entries in the "condition" column are technical replicates.


taiawu/echowritr documentation built on Dec. 23, 2021, 7:42 a.m.