Jointly performing dimension reduction and spatial clustering with Bayesian Factor Analysis for zero-inflated Spatial Transcriptomics data.
To install the packages "BFAST", firstly, install the "devtools" package. Besides, "BFAST" depends on the "Rcpp" and "RcppArmadillo" package, which also requires appropriate setting of Rtools and Xcode for Windows and Mac OS/X, respectively.
install.packages("devtools")
library(devtools)
install_github("Stacy019/BFAST")
Take the STARmap data as example, check the vignettes directory of the repo.