Skip to contents

This function retrieves evaluation data from TMB and DESeqDataSet (dds) objects, combining the results into a list containing data frames for model parameters and dispersion.

Usage

get_eval_data(
  l_tmb = NULL,
  dds = NULL,
  mock_obj,
  coefficient,
  alt_hypothesis,
  use_initial_random_params = FALSE
)

Arguments

l_tmb

A list of TMB models (default is NULL).

dds

A DESeqDataSet object (default is NULL).

mock_obj

A mock object containing ground truth information.

coefficient

Threshold value for coefficient testing (default is 0). This threshold corresponds to the natural logarithm of the fold change (ln(FC)).

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 actual sd values of random effects. Recommended usage : TRUE

Value

A list containing data frames for model parameters and dispersion.