Randomise samples in MS queue
This function randomises the order of samples in an MS queue. QC and Blank samples are left in place. It is also possible
to randomise only parts of the queue. Before running this make sure to set a specific seed with the set.seed()
function.
This ensures that the randomisation of the result is consistent if the function is run again.
randomise_queue(data = NULL, rows = NULL, export = FALSE)
data |
optional, a data frame containing a queue. If not provided a queue file can be chosen interactively. |
rows |
optional, a range of rows in for which samples should be randomized. |
export |
logical, if TRUE a |
If export = TRUE
a "randomised_queue.csv"
file will be saved in the working directory. If export = FALSE
a data frame that contains the randomised queue is returned.
## Not run: randomise_queue(data = data, rows = 195:235, export = TRUE) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.