Skip to content

Spatial Bayesian Latent Factor Models for Image-on-Image Regression/ Guo, Kang, and Johnson

License

Notifications You must be signed in to change notification settings

umich-biostatistics/SBLF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R package SBLF

Overview

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.

Installation

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)

Example usage

Quick example:

?SBLF
mod = SBLF(xtrain, xtest, ztrain, ztest, voxel_loc, seed = 1234, burnin = 250, iter = 500)

About

Spatial Bayesian Latent Factor Models for Image-on-Image Regression/ Guo, Kang, and Johnson

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published