This R
package provides a user-friendly interface for fitting spatial
Bayesian latent factor models. Uncover the latent brain image structure
using image on image regression.
The package is currently only runnable on Linux. Windows or Mac users can run a virtual Linux distribution on their machine or use a cluster.
To install, open R
and run:
If the devtools package is not yet installed, install it first:
install.packages('devtools')
library(devtools)
# install SBLF from Github:
install_github('umich-biostatistics/SBLF')
library(SBLF)
?SBLF
mod = SBLF(xtrain, xtest, ztrain, ztest, voxel_loc, seed = 1234, burnin = 250, iter = 500)