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()
.
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
user_prompt
is set toTRUE
. Defaults toFALSE
.- 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
FALSE
.- direction
A character vector specifying the orientation of the plate layout. It can be either "horizontal" or "vertical".
- ...
Additional arguments to be passed to
read_plates
,tidy_single_plate
,tidy_plates_via_params
, ortidy_plates_via_prompts
.