fill_plate: Fill in missing wells

View source: R/fill_plate.R

fill_plateR 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")

Swarchal/platetools documentation built on March 7, 2024, 10 p.m.