Common factor plot

37 views
Skip to first unread message

Anna Deaicy Argoty Pantoja

unread,
May 9, 2024, 5:32:19 AMMay 9
to Genomic SEM Users
Dear all, 

Could someone please share with me the script to plot the common factor analyses? I would like to plot the path diagram for the following analysis:  

model <- "F1=~a*SBP + a*DBP
F1~SNP"
CFactors <- userGWAS(covstruc = LDSCoutput, SNPs = BP_sumstats, model = model, sub = c("F1~SNP"),cores = 10,smooth_check=TRUE,fix_measurement=TRUE,Q_SNP=TRUE)
BP_factor<-CFactors[[1]]
save(BP_factor,file="2traits_DWLS.Rdata")

Thank you in advance!

Kind regards,
Anna 


Elliot Tucker-Drob

unread,
May 9, 2024, 2:19:58 PMMay 9
to Anna Deaicy Argoty Pantoja, Genomic SEM Users
You can try this but oftentimes people create them in powerpoint.

--
You received this message because you are subscribed to the Google Groups "Genomic SEM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to genomic-sem-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/genomic-sem-users/ca8196e7-3687-4ed5-b872-efbf6206b44dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages