View source: R/model-sigmoid-init.R
sigmoid_agonist_init | R Documentation |
Creating initial values for an agonist sigmoid model parameters
that can be passed to the sigmoid_model()
along with the
sigmoid_agonist_formula()
and sigmoid_agonist_prior()
.
sigmoid_agonist_init(
ec50 = function() stats::runif(n = 1, min = -7, max = -5),
hill = function() stats::runif(n = 1, min = 0.8, max = 1.2),
top = function() stats::runif(n = 1, min = 0.8, max = 1.2),
bottom = function() stats::runif(n = 1, min = -0.2, max = 0.2),
...
)
ec50 |
|
hill |
|
top |
|
bottom |
|
... |
additional parameter initialization. Each named argument should be
a function that returns a |
input for [brms::brm](init = ...)
sigmoid_agonist_formula()
, sigmoid_agonist_prior()
, and
sigmoid_model()
## Not run:
#Consider an activator that has a max response around 50%, EC50 is estimated
#to be around 1 nM, minimum response is known to be 0.
init <- BayesPharma::sigmoid_agonist_init(
ec50 = -9,
top = 0.5)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.