Test credible interval SVI

test_posterior_CI(inference_res, contrast, credible_mass = 0.95)

Arguments

inference_res

results coming from fit_linear_model function

contrast

Vector with the same number of rows as the number of conditions in the design matrix indicating how the coefficients estimated should be tested against each other.

credible_mass

Credible interval required for testing. Default is 0.95.

Value

A data.frame with gene, log_FC, CI_low, CI_high and is_zero_in columns