Skip to contents

Set the contents of a well

Usage

setWell(plate, well, what, volume)

# S4 method for Plate,Well,character,numeric
setWell(plate, well, what, volume)

# S4 method for Plate,Well,character,logical
setWell(plate, well, what, volume)

Arguments

plate

A Plate object.

well

A Well object.

what

A reagent name (character value).

volume

A volume in nanoliters (numeric value).

Value

Returns a Plate object.

Examples

sourcePlate <- Plate("384", deadVolume = 1e4, maxVolume = 1e5)
A01 <- Well("A01")
sourcePlate <- setWell(sourcePlate, A01, "dNTP", 100000)
sourcePlate <- setWell(sourcePlate, Well("A02"), "dNTP",   100000)
sourcePlate <- setWell(sourcePlate, Well("A03"), "buffer", 100000)
head(sourcePlate)
#> DataFrame with 6 rows and 2 columns
#>          dNTP    buffer
#>     <numeric> <numeric>
#> A01     1e+05        NA
#> A02     1e+05        NA
#> A03        NA     1e+05
#> A04        NA        NA
#> A05        NA        NA
#> A06        NA        NA