Description Usage Arguments Details Value Examples
View source: R/02_estimate_parameters.R
This function models inter-individual heterogeneity as a log function of the grand mean. Visualizing this fit and looking for oddities and extreme outliers may be helpful.
1 | model_inter(data_summaries, plot = FALSE)
|
data_summaries |
an R object that has been output by the package's compute_data_summaries function. |
plot |
a TRUE/FALSE statement for the output of a plot to observe how well inter-individual standard deviation behaves as a linear function of the grand mean |
Prior to estimating the simulation parameters, it is important to run the compute_data_summaries function to build an object that is in the right format for the following estimation functions to properly compute. The 'ggplot2' package is required for the plotting component of this function to work. Please install it.
A plot (if plot=TRUE) a vector of length two, where the first number is the estimate of the intercept for the log model second number is the estimate of the slope for the log model.
1 2 3 | clean_expr_data <- filter_counts()
data_summaries <- compute_data_summaries(clean_expr_data)
inter_betas <- model_inter(data_summaries)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.