Description Usage Arguments Value
View source: R/fct_random_walk.R
Returns the user dataframe updated after choosing randomly a well on the plate (matrix) and randomly choosing a sample ID that satisfies all the constraints.
1 | randomWalk(m, toVisit, d, constraint)
|
m |
is a matrix corresponding to the plate to be filled. |
toVisit |
contains the wells in form "A1", and contains only the wells authorized to be filled in |
d |
is the dataframe containing the data supplied by the user. |
constraint |
character string corresponding to the spatial constraint selected by the user |
a dataframe corresponding to the user-supplied data. This dataframe is an updated version, where the columns 'Row' and 'Column' are filled with the coordinates of the chosen well. If no solution is found for the current selected well, then this function returns 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.