Function to import blockmeasures from files and return widemeasures This function acts as a wrapper to call read_blocks, uninterleave, then trans_block_to_wide in one go
import_blockmeasures(
files,
num_plates = 1,
plate_names = NULL,
wellnames_sep = "",
...
)
If num_plates = 1
, a wide-shaped data.frame
containing the measures data.
if num_plates
is greater than one, a list of
data.frame
's, where each data.frame
is wide-shaped.
Vector of filenames (as strings), each of which is a block-shaped file containing measures data. File formats can be .csv, .xls, or .xlsx
Number of plates. If multiple plates uninterleave will be used to separate blockmeasures into those plates accordingly
(optional) Names to put onto the plates when output
String to use as separator for well names between rowname and column name
Other arguments to pass to read_blocks, uninterleave, or trans_block_to_wide
Common arguments that you may want to provide via ...
include:
startrow
, endrow
, startcol
, endcol
,
sheet
- specifying the location of design information
inside files
to read_blocks
metadata
- specifying metadata to read_blocks
See read_blocks for more details
If you find yourself needing more control, you can run the steps manually, first reading with read_blocks, separating plates as needed with uninterleave, then transforming to wide with trans_block_to_wide.