assignPlatePosition: Assign an instrument queue configuration to a plate

View source: R/queue.R

assignPlatePositionR Documentation

Assign an instrument queue configuration to a plate

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

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

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

protViz documentation built on May 29, 2024, 8:21 a.m.