eem_dilution {staRdom} | R Documentation |
Modifying fluorescence data according to dilution.
Description
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.
Usage
eem_dilution(data, dilution = 1)
Arguments
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. |
Value
fluorescence data with class eemlist
Examples
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)
[Package staRdom version 1.1.28 Index]