assignPlatePosition: Assign an instrument queue configuration to a plate

Description Usage Arguments Value Examples

View source: R/queue.R

Description

The function implements a space-filling curve mapping 1D to 2D. This function aims to assign a sequence of samples to an instrument plate, e.g., 48 well plate 85.4x127.5mm.

Usage

1
2
3
4
5
6
7
8
assignPlatePosition(
  S,
  x = as.character(1:8),
  y = c("A", "B", "C", "D", "E", "F"),
  plate = 1:4,
  volume = 1,
  reserve = 46:48
)

Arguments

S

input data frame

x

a vector of possible x-coordinates of the plate

y

a vector of possible y-coordinates of the plate

plate

a vector of plates

volume

injection volume

reserve

block plate positions

Value

a data.frame

Examples

1
2
3
iris[c(1:15, 51:65, 101:115), ] |>
  blockRandom(x = "Species", check=FALSE) |>
  assignPlatePosition()

protViz documentation built on Sept. 24, 2021, 5:06 p.m.