view_plate | R Documentation |
Displays the data in the form of a microtiter plate.
view_plate(data, well_ids_column, columns_to_display, plate_size = 96)
data |
A data frame containing the data |
well_ids_column |
The name of the column in |
columns_to_display |
A vector of the names of one or more columns you'd like to display. |
plate_size |
The number of wells in the plate. Must be 6, 12, 24, 48, 96 384, or 1536. Default 96. |
A depiction of the data in columns_to_display
as
though laid out on a microtiter plate with plate_size
wells.
# Generate some tidy data
data <- data.frame(Wells = paste0(LETTERS[1:3], 0, rep(1:4, each = 3)),
Species = rep(c("Alien", "Human", "Cat"), 4),
OxygenProduction = round(rnorm(12), 3))
head(data)
# See which wells had cells from which species and the amount of oxygen
# produced for each well
view_plate(data, "Wells", c("Species", "OxygenProduction"), 12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.