Skip to contents

Functions to dispense combinations of all the pairs of two sets of reagents, for instance forward and reverse PCR primers.

Usage

dispense_pairs(
  plate,
  set1,
  set2 = set1,
  volume,
  n_per_pair = 1L,
  start = "A01"
)

Arguments

plate

A Plate object.

set1

First set of reagents.

set2

Second set of reagents.

volume

Fixed volume to dispense.

n_per_pair

Number of replicates per pair.

start

Starting well.

Value

Returns a Plate object with columns documenting the reagents to be dispensed.

Details

The names of the reagents must match the names that will be used in the source plate.

See also

titration_curve()

Other Dispensing functions: set_block()

Examples

examplePlate |>
  dispense_pairs(c("F01", "F02", "F03"), c("R01", "R02"), volume = 20) |> head(6)
#> DataFrame with 6 rows and 7 columns
#>          dNTP    buffer       F01       F02       F03       R01       R02
#>     <numeric> <numeric> <numeric> <numeric> <numeric> <numeric> <numeric>
#> A01     1e+05        NA        20        NA        NA        20        NA
#> A02     1e+05        NA        20        NA        NA        NA        20
#> A03        NA     1e+05        NA        20        NA        20        NA
#> A04        NA        NA        NA        20        NA        NA        20
#> A05        NA        NA        NA        NA        20        20        NA
#> A06        NA        NA        NA        NA        20        NA        20
examplePlate |>
  dispense_pairs(c("F01", "F02"), volume = 10) |> head(6)
#> DataFrame with 6 rows and 4 columns
#>          dNTP    buffer       F01       F02
#>     <numeric> <numeric> <numeric> <numeric>
#> A01     1e+05        NA        20        NA
#> A02     1e+05        NA        10        10
#> A03        NA     1e+05        10        10
#> A04        NA        NA        NA        20
#> A05        NA        NA        NA        NA
#> A06        NA        NA        NA        NA
examplePlate |>
  dispense_pairs("F01", c("R01", "R02"), volume = 10, n = 3) |> head(6)
#> DataFrame with 6 rows and 5 columns
#>          dNTP    buffer       F01       R01       R02
#>     <numeric> <numeric> <numeric> <numeric> <numeric>
#> A01     1e+05        NA        10        10        NA
#> A02     1e+05        NA        10        10        NA
#> A03        NA     1e+05        10        10        NA
#> A04        NA        NA        10        NA        10
#> A05        NA        NA        10        NA        10
#> A06        NA        NA        10        NA        10