Description Usage Arguments Value Examples
View source: R/initialize_tau.R
Initialize all tau values based on the observed replicate variance.
1 2 |
Model |
an object of class gemini.model |
CONSTANT |
a numeric indicating a constant value that shifts counts to reduce outliers (default = 32). |
prior_shape |
shape parameter of Gamma distribution used to model the variation in the data in |
window |
numeric if window smoothing should be done on initialized tau values, otherwise NULL (default) for no window smoothing |
monotonize |
logical specifying whether the variance should be monotonically increasing (default FALSE) |
verbose |
default FALSE |
a Model object of class gemini.model including new slots for alpha and beta values
1 2 | data("Model", package = "gemini")
Model <- initialize_tau(Model, CONSTANT = 32, prior_shape = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.