# gwsem v0.1.5

0

0th

Percentile

## Genome-Wide Structural Equation Modeling

Melds genome-wide association tests with structural equation modeling (SEM) using 'OpenMx'. This package contains low-level C/C++ code to rapidly read genetic data encoded in U.K. Biobank or 'plink' formats. Prebuilt modeling options include one and two factor models. Alternately, analyses may utilize arbitrary, user-provided SEMs. See Verhulst, Maes, & Neale (2017) <doi:10.1007/s10519-017-9842-6> for details. An updated manuscript is in preparation.

# gwsem

The goal of gwsem is to ...

## Installation

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

install.packages("gwsem")


## Example

This is a basic example which shows you how to solve a common problem:

library(gwsem)
## basic example code


## Functions in gwsem

 Name Description buildOneItem Build a model suitable for a single item genome-wide association study loadResults Load GWAS results into a single data.frame setupThresholds Set up thresholds for ordinal indicators gwsem-package Genome-wide Structural Equation Modeling buildOneFac Build a model suitable for a single factor genome-wide association study buildTwoFac Build a model suitable for a two factor genome-wide association study prepareComputePlan Return a suitable compute plan for a genome-wide association study GWAS Run a genome-wide association study (GWAS) using the provided model buildOneFacRes Build a model suitable for a single factor residual genome-wide association study setupCovariates Set up model covariates No Results!