Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

randomise_queue

Randomise samples in MS queue


Description

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.

Usage

randomise_queue(data = NULL, rows = NULL, export = FALSE)

Arguments

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 "randomised_queue.csv" file will be saved in the working directory. If FALSE a data frame will be returned.

Value

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.

Examples

## Not run: 
randomise_queue(data = data, rows = 195:235, export = TRUE)

## End(Not run)

protti

Bottom-Up Proteomics and LiP-MS Quality Control and Data Analysis Tools

v0.1.1
MIT + file LICENSE
Authors
Jan-Philipp Quast [aut, cre], Dina Schuster [aut], ETH Zurich [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.