findIC: Find the concentration for a given inhibition

find_effective_concentrationR Documentation

Find the concentration for a given inhibition

Description

Find the target concentration by predicting the effect on a range of concentration and shrinking from there

Usage

find_effective_concentration(
  nls_model,
  target_effect = 0.5,
  explore = c(-9:1),
  precision = 0.01
)

findIC20(nls_model, explore = c(-9:1), precision = 0.01)

Arguments

nls_model

Model fitted by fit_drug_sensitivity

target_effect

Percent viability that should be reached

explore

Starting range to look for the concentration, in log10

precision

How close to the target effect can the algorithm stop

Value

log10(target_concentration)


MathurinD/drugResistance documentation built on July 4, 2025, 10:30 p.m.