fill_plate {platetools} | R Documentation |
Fill in missing wells
Description
Fills in missing wells with rows of NA values. Useful for any functions that require a complete plate such as 'b_score'.
Usage
fill_plate(df, well, plate = 96)
Arguments
df |
dataframe |
well |
Column containing well identifiers i.e "A01" |
plate |
Number of wells in complete plate (96, 384 or 1536) |
Value
dataframe
Examples
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")
[Package platetools version 0.1.7 Index]