Description Arguments Value Author(s) References Examples
View source: R/VT_SEM_functions.R
Run VT-SEM model 0 which assumes there is neither AMnor latent polygenic genetic score(LGS)
dat |
Data frame which includes offsprings' phenotype value (Yo), haplotypic transmitted PGS from parents (Tm,Tp), and haplotypic non-transmitted PGS of parents (NTm,NTp) |
NTmlabel,Tmlabel,NTplabel,Tplabel,Yolabel |
Column names of NTm,Tm,NTp,Tp, and Yo. |
max.cores |
Assign the number of cores to run OpenMx. |
AFE.Fit |
OpenMx objective which includes fitted results |
result_summary |
Summaries of fitted values of model 0 |
Yongkang Kim yongkangkim87@gmail.com, Jared Balbona, and Matthew C Keller
Kong, Augustine, et al. "The nature of nurture: Effects of parental genotypes." Science 359.6374 (2018): 424-428.
1 2 3 4 | data(equil_exam)
model0=perform_SEM_model0(equil_exam,"NTMO","TMO","NTPO","TPO","Y")
summary(model0$AFE.Fit)
model0$result_summary
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.