sample_distrib {ProteoBayes} | R Documentation |
Sample from a t-distribution
Description
Sample from a (possibly multivariate) t-distribution. This function can be used to sample both from a prior or posterior, depending on the value of parameters provided.
Usage
sample_distrib(posterior, nb_sample = 1000)
Arguments
posterior |
A tibble or data frame, detailing for each |
nb_sample |
A number, indicating the number of samples generated for
each couple |
Value
A tibble containing the Peptide
, Group
and
Sample
columns. The samples of each Peptide
-Group
couple provide an empirical t-distribution that can be used to compute and
display differences between groups.
Examples
TRUE