Commit 9f4914ea authored by Vallo Varik's avatar Vallo Varik
Browse files

Add task 7

parent 61de7b7b
......@@ -98,3 +98,19 @@ possible.
The distinction between transforming and modeling is a subtle one, arbitrary
really. Modeling usually entails slightly more sophisticated transformations
to summarize data and to ask questions e.g. 'is this different from that'.
Looking at above plot, it seems that about 8-10h would be a good time to
score the effect of a drug (fitness is maximally affected there for
concentrations/replicates). Let's check the closest timepoints to 10h:
```{r echo=T}
filter(dat, Time_h < 10.5, Time_h > 9.5) %>%
count(Time_h)
```
Good, filtering for `Time_h` between 9.5 and 10.5 h gives a desired result.
7. Let us plot the dose-response curve. Dose-response curves are sigmoidal only
if the dose axis is multiplicative i.e. logarithmic, so let us do that.
![](doc/tasks/07_out.png){width=60%}
......@@ -91,3 +91,28 @@ The distinction between transforming and modeling is a subtle one,
arbitrary really. Modeling usually entails slightly more sophisticated
transformations to summarize data and to ask questions e.g. ‘is this
different from that’.
Looking at above plot, it seems that about 8-10h would be a good time to
score the effect of a drug (fitness is maximally affected there for
concentrations/replicates). Let’s check the closest timepoints to 10h:
filter(dat, Time_h < 10.5, Time_h > 9.5) %>%
count(Time_h)
## # A tibble: 4 × 4
## # Groups: Date, Plt, Time_h [4]
## Date Plt Time_h n
## <date> <dbl> <dbl> <int>
## 1 2022-05-04 4 9.73 12
## 2 2022-05-05 2 9.73 12
## 3 2022-05-13 1 9.73 12
## 4 2022-05-13 6 9.74 12
Good, filtering for `Time_h` between 9.5 and 10.5 h gives a desired
result.
1. Let us plot the dose-response curve. Dose-response curves are
sigmoidal only if the dose axis is multiplicative i.e. logarithmic,
so let us do that.
<img src="doc/tasks/07_out.png" style="width:60.0%" />
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment