Create a Prior an Antagonist Sigmoid Model
sigmoid_antagonist_prior.Rd
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
Arguments
- ic50
brms::brmsprior()
ornumeric
. Prior for theic50
parameter. (Default:normal(-6, 2.5)
where the mean-6
corresponds to a concentration of 1e-6 or 1 μM. Settingic50
to a numeric value constrains it to a constant value.- hill
brms::brmsprior()
ornumeric
. Prior for thehill
parameter. (Default:normal(-1, 1)
upper bounded by0.1
).- top
brmsprior
ornumeric
giving the prior for thetop
parameter. Settingtop
to anumeric
constrains it to a constant value.- bottom
brmsprior
ornumeric
giving the prior for thebottom
parameter. Settingbottom
tonumeric
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)
} # }