Extracts evaluation data from a list of TMB models.
get_eval_data_from_ltmb.Rd
This function takes a list of TMB models, performs tidy evaluation, extracts model parameters, and compares them to the ground truth effects. Additionally, it evaluates and compares dispersion inferred from TMB with the ground truth gene dispersion. The results are organized in two data frames, one for model parameters and one for dispersion, both labeled as "HTRfit".
Usage
get_eval_data_from_ltmb(
list_tmb,
mock_obj,
coeff_threshold,
alt_hypothesis,
use_initial_random_params = FALSE
)
Arguments
- list_tmb
A list of TMB models.
- mock_obj
A mock object containing ground truth information.
- coeff_threshold
The coefficient threshold for wald test
- alt_hypothesis
The alternative hypothesis for wald test
- use_initial_random_params
A logical value indicating whether to use initial population values (
TRUE
) or simulated values (FALSE
) for computing the actualsd
values of random effects. Recommended usage :TRUE