Skip to contents

This function validates the input parameters used for evaluation, ensuring that they meet the required criteria.

Usage

isValidEvalInput(
  mock_obj,
  list_gene,
  list_tmb,
  dds,
  coeff_threshold,
  alt_hypothesis,
  alpha_risk
)

Arguments

mock_obj

Mock object containing data for evaluation.

list_gene

Character vector of gene names to evaluate. Default is NULL.

list_tmb

List of glmmTMB objects to evaluate. Default is NULL.

dds

DESeqDataSet object to evaluate. Default is NULL.

coeff_threshold

Numeric value representing the threshold for coefficients.

alt_hypothesis

Numeric value representing the alternative hypothesis. Should be one of 'greaterAbs', 'greater', or 'less'.

alpha_risk

Numeric value representing the alpha risk for hypothesis testing.

Value

TRUE or error message