This protocol assumes you have finished the MTT Protocol.
This protocol also requires you have installed R, RStudio, as well as the mop and bladdr package. bladdr is a GitHub package. Use devtools::install_github("McConkeyLab/bladdr") to install bladdr and devtools::install_github("KaiAragaki/mop") to install mop. For more information, see ‘Installing GitHub Packages’.
16.1 Data Acquisition
In the Spectramax software, click ‘File > Import/Export > Export…’ and export the results as a .txt file to a USB drive
16.2 Reading Data into R
Open RStudio
Press Shift + Ctrl/Command + N. This will open a new script.
Run the following in your script, with the path to your file replacing the "dummy_mtt_spectramax.txt"
Now we need to calculate the proper values for plotting. This means we need to annotate our plate with our experimental conditions. To do this, we use mtt_calc.
mtt_calc takes three arguments. One is the my_spectramax you just created. The second is the names of the conditions of each ‘sector’ of your plate. The third is the drug concentrations within that sector.
In my data, I know I only used two sectors - sector 1 and 2.
Additionally, you need to annotate the concentration of drug. It all needs numeric - not text - so it needs to be the same units. Additionally, it moves from left to right in each sector (see Figure 16.2).
All this being said, here’s how I’ll annotate my plate:
Lowest drug concentration is 0, converting to 1e-04
Warning: There were 2 warnings in `dplyr::mutate()`.
The first warning was:
ℹ In argument: `fit = purrr::map(.data$data, mtt_model)`.
ℹ In group 1: `condition = Drug 1`.
Caused by warning in `optim()`:
! method L-BFGS-B uses 'factr' (and 'pgtol') instead of 'reltol' and 'abstol'
ℹ Run `dplyr::last_dplyr_warnings()` to see the 1 remaining warning.