Skip to content

QTAB-STUDY/twin-data-models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QTAB Twin Data Models

Example models for analysing the QTAB dataset

01_create_familywise_datafile.R

Example code to create a familywise dataset (i.e. one family per row) for use in OpenMx.

02_umx.R

Example code for running twin models using umx (a simplified version of OpenMx).

03_sat_covariate_OpenMx.R

Example code for assumption testing, estimating twin correlations, examining covariate effects (using OpenMx).

04a_uni_path_covariate_OpenMx.R

Example function for univariate twin analyses (using OpenMx).

04b_table_plots.R

Example code to estimate variance components (using function 04a_uni_path_covariate_OpenMx) and display estimates as a table and figure.

05_mixed_effects_datafile.R

Example code to create a long dataset for running linear mixed effects models on QTAB data

06_mixed_effects_lmer

Example code for running linear mixed effects models on QTAB data

About

Example models for analysing QTAB twin data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages