This function allows users to convert designs created with tidydesign into a block format for easy output to csv for inclusion in lab notebooks, etc in a human-readable format
Usage
block_tidydesign(
tidydesign,
collapse = NULL,
wellnames_sep = "_",
wellnames_colname = "Well"
)
Arguments
- tidydesign
A tidydesign data.frame (e.g. as created by make_tidydesign)
- collapse
NULL or a string to use for concatenating design elements together. If NULL each design column will be put into its own block. If a string, that string will be used to paste together all design elements and all design elements will be returned in a single block
- wellnames_sep
A string used when concatenating rownames and column names to create well names
- wellnames_colname
Header for newly-created column containing the well names