Skip to contents

Creates a data.frame of priors for the sigmoid antagonist model

If the function arguments ic50, hill, top, bottom = 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

Usage

sigmoid_antagonist_prior(
  ic50 = brms::prior(prior = normal(-6, 2.5), nlpar = "ic50"),
  hill = brms::prior(prior = normal(-1, 1), nlpar = "hill", ub = 0.01),
  top = brms::prior(prior = normal(1, 0.5), nlpar = "top"),
  bottom = brms::prior(prior = normal(0, 0.5), nlpar = "bottom"),
  ...
)

Arguments

ic50

brms::brmsprior() or numeric. Prior for the ic50 parameter. (Default: normal(-6, 2.5) where the mean -6 corresponds to a concentration of 1e-6 or 1 μM. Setting ic50 to a numeric value constrains it to a constant value.

hill

brms::brmsprior() or numeric. Prior for the hill parameter. (Default: normal(-1, 1) upper bounded by 0.1).

top

brmsprior or numeric giving the prior for the top parameter. Setting top to a numeric constrains it to a constant value.

bottom

brmsprior or numeric giving the prior for the bottom parameter. Setting bottom to numeric constrains 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 μM, and minimum response is known to be 0.
priors <- sigmoid_antagonist_prior(
  ic50 = brms::prior(prior = normal(-6, 0.5), nlpar = "ic50"),
  top = brms::prior(prior = normal(0.5, 0.5), nlpar = "top"),
  bottom = 0)
} # }