well_reorder_df | R Documentation |
Reorder a Plate-Based DataFrame
well_reorder_df(data, well_col = "well", row_col = NULL, col_col = NULL)
data |
Data frame to reorder, than contains a row column and a col column. |
well_col |
Column containing the well IDs. |
row_col |
Column containing the row letters or numbers. |
col_col |
Column containing the column numbers. |
A data.frame that has been reordered according to the row
& col
columns.
df <- well_plate(nrow = 8, ncol = 12)
df <- df[sample(1:96, 96), ]
head(df)
df <- well_reorder_df(df)
head(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.