Title: A function to create an attribute or column for each sample loaded into the microplate wells.
Source:R/resample_dat.R
resample_dat.Rd
Designed as a prototype function to take a single attribute or column consisting of several samples and perform a putative resampling to yield another data frame with a separate attribute for each sample.
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.
Examples
fpath <- system.file("extdata", "dat_5.dat", package = "normfluodbf", mustWork = TRUE)
dat_df <- read.table(file=fpath)
nocomma_dat <- clean_odddat_optimus(dat_df)
samples_delineated <- resample_dat(nocomma_dat, tnp=3, cycles=40)