Skip to contents

Compute a multivariate inference criterion to examine whether the posterior multivariate t-distributions of groups should be considered different enough to be called 'differential'. Two groups are considered can be discriminated based on the probability weights for the element-wise means to be greater in each group. The Credible Intervals for each marginals are also provided.

Usage

multi_identify_diff(
  posterior,
  plot = TRUE,
  cumulative = FALSE,
  CI_level = 0.05,
  nb_sample = 10000,
  nb_sample_per_dim = NULL
)

Arguments

posterior

A tibble, typically coming from a posterior_mean() function, containing the parameters of the multivariate posterior t-distributions for the mean of the considered groups and draws for each peptide.

plot

A boolean, indicating whether a results plot should be displayed.

cumulative

A boolean, indicating whether the probability distribution should be the cumulative instead.

CI_level

A number, defining the order of quantile chosen to assess differences between groups.

nb_sample

A number of samples to draw from the empirical distributions

nb_sample_per_dim

Value

A tibble, indicating the probability distribution for the number of differentiable peptides for all one-by-one group comparisons

Examples

TRUE
#> [1] TRUE