View source: R/correction_functions.R
eem_dilution | R Documentation |
If samples were diluted before measuring, a dilution factor has to be added to the measured data. This function can do that by either multilpying each sample with the same value or using a data frame with different values for each sample.
eem_dilution(data, dilution = 1)
data |
fluorescence data with class eemlist |
dilution |
dilution factor(s), either numeric value or data frame. Row names of data frame have to be similar to sample names in eemlist. |
fluorescence data with class eemlist
data(eem_list)
eem_list2 <- eem_dilution(eem_list, dilution = 5)
dilutionT <- data.frame(dilution = rep(5, length(eem_list)))
row.names(dilutionT) <- eem_names(eem_list)
dilutionT
eem_list3 <- eem_dilution(eem_list, dilution = dilutionT)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.