as_plate should probably be able to take the following:
data.frame
either tidy = TRUE (requires - minimally - numeric columns x and y. The rest of the columns will be considered values and the column names the keys
tidy = FALSE - a matrix of values, with x and y 'as is', and a name supplied as a separate arg
matrix/array
almost exactly the same as data.frame for matrix
for array, can either supply names equal to the extent of the 3rd dimension, or use the dimnames of third dimension if not null. Will override dimnames if names is supplied
Must not accept >3D arrays
vector
Will form column of wells. Requires names. Can be transposed after with t()
as_plate
should probably be able to take the following:data.frame
tidy = TRUE
(requires - minimally - numeric columns x and y. The rest of the columns will be considered values and the column names the keystidy = FALSE
- a matrix of values, with x and y 'as is', and a name supplied as a separate argmatrix
/array
data.frame
formatrix
names
equal to the extent of the 3rd dimension, or use the dimnames of third dimension if not null. Will override dimnames ifnames
is suppliedvector
well
list(well)
list
lapply
any of the above