rl_adjust_plate | R Documentation |
Using a deconvolution matrix, created through rl_calc_decon_matrix()
,
adjust the values in the col_value
column to take into account
bleed-through from surrounding wells.
rl_adjust_plate(data, value, mat_decon, time = "time", well = "well")
data |
A data frame that contains the experimental data. |
value |
The name of the column containing the values (i.e. 'lum'). |
mat_decon |
A deconvolution matrix created through
|
time |
The name of the column containing the time values (i.e. 'time') |
well |
Name of the column with the well ID information. |
A dataframe with the specified column having been deconvoluted, using the supplied deconvolution matrix.
fl <- system.file(
"extdata",
"calibrate_tecan",
"calTecan1.xlsx",
package = "reluxr"
)
dat <- plate_read_tecan(fl)
mat_d_best <- dat |>
dplyr::filter(signal != "OD600") |>
dplyr::filter(time_s > 500) |>
rl_calc_decon_matrix(value, time_s, ref_well = "E05", b_noise = 30)
dat |>
dplyr::summarise(value = mean(value), .by = well) |>
rl_plot_plate(value, trans = log10) +
ggplot2::scale_fill_viridis_c(
limits = c(1, NA)
)
dat |>
dplyr::filter(signal == "LUMI") |>
rl_adjust_plate(value, mat_d_best, time = time_s) |>
dplyr::summarise(value = mean(value), .by = well) |>
rl_plot_plate(value, trans = log10) +
ggplot2::scale_fill_viridis_c(
limits = c(1, NA)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.