Title: A function to create an attribute or column for each sample loaded into the microplate wells.
Source:R/resample_dat_scale_optimus.R
resample_dat_scale_optimus_backend.Rd
Creates a data frame where each sample loaded into the microplate wells has a separate attribute.
Arguments
- df
A clean data frame with attributes or tuples containing a mixture of samples.
- tnp
A numeric value indicating the number of rows used. TNP is used as an acronym for Test, Negative, Positive.
- cycles
A numeric value indicating the number of cycles selected by the user when running the FLUOstar instrument.
- na_omit
Takes a string "yes" OR "no".
Note
This function builds on or scales-up @seealso resample_dat()
, hence the suffix scale.
This function is more optimized than @seealso resample_dat_scale()
, hence the suffix scale_optimus.
Examples
fpath <- system.file("extdata", "dat_1.dat", package = "normfluodbf", mustWork = TRUE)
dat_df <- read.table(file=fpath)
nocomma_dat <- clean_odddat_optimus(dat_df)
resampled_scaled <- resample_dat_scale_optimus_backend(nocomma_dat, tnp=3, cycles=40)