tidy_plates {microdiluteR} | R Documentation |
Add metadata to values from photometer measurements
Description
Cleans a list of data frames with different structures. This function reads data
from either a folder containing text files or from a list of data frames. It then cleans each
data frame using the function tidy_plates_via_prompts()
.
Usage
tidy_plates(
input_data,
how_many = c("single", "multiple"),
user_prompt = FALSE,
multiple_structures = FALSE,
direction = c("horizontal", "vertical"),
...
)
Arguments
input_data |
Either a folder path containing text files or a list of data frames. |
how_many |
A character vector specifying if metadata should be added to only a single plate or multiple plates. |
user_prompt |
Logical indicating whether adding metadata should be applied via user prompts. Only applied
if |
multiple_structures |
Logical indicating whether adding metadata should be applied for each plate separately,
because plates have different metadata structures. Will be applied via user prompts for each plate separately. Defaults to |
direction |
A character vector specifying the orientation of the plate layout. It can be either "horizontal" or "vertical". |
... |
Additional arguments to be passed to |
Value
A list of cleaned data frames.
See Also
read_plates
, tidy_plates_via_prompts
, tidy_plates_via_params
, tidy_single_plate