View source: R/scBT-test.R View source: R/Bayes_test.R
calculate_BF | R Documentation |
Title Compute Bayes factors for all the p-genes
calculate_BF(Y, par_null, par_alt, prior.null, prior.alt)
par_null |
: Parameters obtained after optimizing the marginal likelihood under the null hypothesis |
par_alt |
: Parameters obtained after optimizing the marginal likelihood under the alternative hypothesis |
prior.null |
: Prior probability of the null hypothesis |
prior.alt |
: Prior probability of the alternative hypothesis |
Y: |
Data list of K (number of dose groups) matrices having dimension n (cells) times p (genes) |
A list containing the log-likelihood under the null hypothesis, log-likelihood under the alternative hypothesis, log Bayes factor and the Bayes Factor values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.