Extract IC50 / EC50 from a dose-response fit
Arguments
- fit
A
cr_dose_responsereturned bycr_dose_response().- level
Confidence level for the interval (default 0.95).
Examples
exp <- cr_example_experiment(seed = 1, n_cells_per_well = 30)
exp$design$dose <- ifelse(exp$design$treatment == "CompoundA_high",
500, exp$design$dose)
fit <- cr_dose_response(exp, channel = "marker_1", model = "4pl")
cr_ic50(fit)
#> # A tibble: 1 × 5
#> parameter estimate ci_low ci_high units
#> <chr> <dbl> <dbl> <dbl> <chr>
#> 1 IC50 NA NA NA NA