fill_plate | R Documentation |
Fills in missing wells with rows of NA values. Useful for any functions that require a complete plate such as 'b_score'.
fill_plate(df, well, plate = 96)
df |
dataframe |
well |
Column containing well identifiers i.e "A01" |
plate |
Number of wells in complete plate (96, 384 or 1536) |
dataframe
vals <- rnorm(96) ; wells <- num_to_well(1:96)
df <- data.frame(wells, vals)
df_missing <- df[-c(1:10), ]
fill_plate(df_missing, "wells")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.