Fitting functions

These functions are used to fit a variational Binomial mixture model and refine its clustering assignments.

variational_fit()

Variational fit for Binomial mixtures

choose_clusters()

Filter clusters heuristic

rename_clusters()

Rename VIBER clusters.

Annotation functions

These functions extract derived objects, like clone trees, from a VIBER fit.

get_clone_trees()

Return clone trees from the fit.

Plotting functions

These functions can be used to plot data, fits and clusters from a VIBER object.

plot_1D()

Plot the clustering assignments for marginal data.

plot_2D()

2D clusters plot.

plot_ELBO()

Plot the ELBO

plot_fits()

Plot 2D and 1D fits altogether.

plot_latent_variables()

Plot the latent variables of the mixture.

plot_mixing_proportions()

Plot the mixing proportions of the mixture.

plot_peaks()

Plot the Binomial peaks of the mixture.

S3 functions

The S3 class vb_bmm returned by variational_fit implements the following S3 methods.

plot(<vb_bmm>)

Plot the clustering assignments.

print(<vb_bmm>)

Print to screen the object

summary(<vb_bmm>)

Print to screen the object

Datasets

Example datasets shipped with the package.

mvbmm_example

Example data

fit_mvbmm_example

Fit of the attached multivariate Binomial mixture