Create a Prior an Agonist Sigmoid Model
sigmoid_agonist_prior.RdCreates a data.frame of priors for the sigmoid agonist model
If the function arguments ec50, hill, top, bottom are NULL, default
normal distribution priors will be set.
If you would like to set a parameter as a constant, enter a numeric value for the function argument.
For other distribution options, reference brms::prior and Prior Choice Recommendations
Arguments
- ec50
brms::brmsprior or
numeric. Prior for theec50parameter. Setting ec50 to a numeric value constrains it to a constant value. Default: normal(-6, 2.5) where the mean -6 corresponds to a concentration of 1e-6 or 1 μM.- hill
brms::brmsprior or
numeric. Prior for thehillparameter. Default:normal(1, 1)with and a lower bound of-0.1.- top
brms::brmsprior or
numericgiving the prior for thetopparameter. Settingtopto anumericconstrains it to a constant value.- bottom
brms::brmsprior or
numericgiving the prior for thebottomparameter. Settingbottomtonumericconstrains it to a constant value.- ...
additional brms::brmsprior objects.
Examples
if (FALSE) { # \dontrun{
# Consider an activator that has a max response around 50%, EC50 is estimated
# to be around 1 nM, and minimum response is known to be 0.
priors <- sigmoid_agonist_prior(
ec50 = brms::prior(prior = normal(-9, 0.5), nlpar = "ec50"),
top = brms::prior(prior = normal(0.5, 0.2), nlpar = "top"),
bottom = 0)
} # }