mfa
is an R package implementing Gibbs sampling for a Bayesian hierarchichal mixture of factor analysers for inference of bifurcations in single-cell data.
mfa
may be installed either via Bioconductor (coming soon) or Github:
if (!requireNamespace("BiocManager", quietly=TRUE))
install.packages("BiocManager")
BiocManager::install("mfa")
devtools::install_github("kieranrcampbell/mfa", build_vignettes = TRUE)
For a cell-by-gene matrix of expression Y, MFA can be envoked via
m <- mfa(Y)
which will perform Gibbs sampling to infer pseudotimes, branch structure, and genes involved in the bifurcation.
For full usage see the package vignette:
vignette('introduction_to_mfa')
Kieran Campbell & Christopher Yau
University of Oxford