Implements a multivariate generalization of the “Sum of Single Effects” (SuSiE) model for variable selection in multivariate linear regression.

Setup

To install the latest version of the mvsusieR package from GitHub, run the following code in R:

install.packages("remotes")
library(remotes)
install_github("stephenslab/mvsusieR")

This command should automatically install all required packages if they are not installed already.

Note that mvsusieR uses mashr, which in turn requires the GNU Scientific libraries (GSL). You may want to install mashr first before attempting to install mvsusieR.

Quick Start

Here is a quick document to show mvsusieR in action. See here more documentation and examples.

Developer notes

  • When any changes are made to roxygen2 markup, simply run devtools::document() to update package NAMESPACE and documentation files.

  • To install and test the package, run the following commands in the shell:

    VERSION=`grep Version DESCRIPTION | awk '{print $2}'`
    R CMD build --resave-data --no-build-vignettes mvsusieR
    R CMD INSTALL mvsusieR_$VERSION.tar.gz
    R CMD check --as-cran --ignore-vignettes mvsusieR_$VERSION.tar.gz
  • Run pkgdown::build_site(lazy = TRUE,examples = FALSE) to build the website.