sc_bayes_bpr_fdmm implements the Gibbs sampling algorithm for
performing clustering of single cells based on their DNA methylation
profiles, where the observation model is the Bernoulli distributed Probit
Regression likelihood.
| 1 2 3 4 5 | 
| x | A list of length I, where I are the total number of cells. Each element of the list contains another list of length N, where N is the total number of genomic regions. Each element of the inner list is an L x 2 matrix of observations, where 1st column contains the locations and the 2nd column contains the methylation level of the corresponding CpGs. | 
| K | Integer denoting the number of clusters K. | 
| pi_k | Vector of length K, denoting the mixing proportions. | 
| w | A N x M x K array, where each column contains the basis function coefficients for the corresponding cluster. | 
| basis | A 'basis' object. E.g. see  | 
| w_0_mean | The prior mean hyperparameter for w | 
| w_0_cov | The prior covariance hyperparameter for w | 
| dir_a | The Dirichlet concentration parameter, prior over pi_k | 
| lambda | The complexity penalty coefficient for penalized regression. | 
| gibbs_nsim | Argument giving the number of simulations of the Gibbs sampler. | 
| gibbs_burn_in | Argument giving the burn in period of the Gibbs sampler. | 
| inner_gibbs | Logical, indicating if we should perform Gibbs sampling to sample from the augmented BPR model. | 
| gibbs_inner_nsim | Number of inner Gibbs simulations. | 
| is_parallel | Logical, indicating if code should be run in parallel. | 
| no_cores | Number of cores to be used, default is max_no_cores - 1. | 
| is_verbose | Logical, print results during EM iterations | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.