backtracking: Backtracking Function

Description Usage Arguments Value

View source: R/fct_backtracking.R

Description

Function used to launch the backtracking algorithm on a dataframe with the corresponding plate parameters, number of iterations and special wells

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
backtracking(
  max_iter = 20,
  user_data,
  wells,
  rows,
  columns,
  nb_plates,
  constraint,
  prog = NULL
)

Arguments

max_iter

numeric, the maximal number of iterations to do, default value is 20

user_data

dataframe, user samples to place randomly on the plate

wells

dataframe, special wells not to be placed randomly on the plate

rows

numeric, number of lines on the plate(s)

columns

numeric, number of columns on the plate(s)

nb_plates

numeric, number of plates

constraint

character, spatial mode

prog

progress bar used for shiny app only

Value

a dataframe containing user samples and special wells with their coordinates for the corresponding plates.


wpm documentation built on Nov. 8, 2020, 5:34 p.m.