well_mat_to_df | R Documentation |
Takes a matrix that is formatted as a plate, and converts it to a long-format 'tidy' data frame with a column for the well ID, the row, the column and the values that were in the matrix.
well_mat_to_df(matrix, value_col = "value")
matrix |
A matrix object to be converted. |
value_col |
The name of the value column in the final DataFrame. |
a tibble
mat <- matrix(rnorm(96), ncol = 12)
well_mat_to_df(mat, "random_values")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.