backtracking {wpm} | R Documentation

## Backtracking Function

### Description

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

### Usage

    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.

[Package wpm version 1.4.0 Index]