/gwsem

Genome-wide Structural Equation Modeling

Primary LanguageC++

gwsem

Travis build status Codecov test coverage cran version Monthly Downloads Total Downloads

The goal of gwsem is to provide users with the opportunity to analyze the complex, interconnected array of risk factors, biomarkers, environmental antecedents, comorbid disorders, and other health outcomes on a genome-wide basis using structural equation modeling techniques.

At the moment, plink formats are not supported on the ARM64 architecture. This shortcoming is likely easy to cure once we get access to ARM64 hardware for testing.

Installation

GW-SEM utilizes the optimization function of OpenMx.

You can install the released version of OpenMx from CRAN with:

install.packages("OpenMx")

If you want a new version of OpenMx, you can follow the instruction to build it from source HERE.

GW-SEM is currently under development. You can install gwsem from github with: devtools::install_github('https://github.com/jpritikin/gwsem')

If you want to regenerate the documentation, clone the source code and do

git clone https://github.com/jpritikin/gwsem
cd gwsem
./tools/rox
R CMD INSTALL .
Rscript tools/test.R