You are here

Applying the univariate ACE model to more than one phenotype at a time

3 posts / 0 new
Last post
Soldor880's picture
Offline
Joined: 10/14/2020 - 16:51
Applying the univariate ACE model to more than one phenotype at a time
AttachmentSize
Binary Data code_univar.R8.05 KB

I have 75 metabolites. I am running a univariate ACE model analysis for each one to decompose the phenotypic variation into estimated genetic and environmental contributions.

Is it possible to adjust the code attached to run the model for each of these simultaneously to get the output (h, c and e), or is it only possible to run the model for each metabolite individually?

Thank-you

AdminRobK's picture
Offline
Joined: 01/24/2014 - 12:15
marginal or joint model?

Please clarify what you're trying to do here. Do you want to analyze each metabolite marginally, or analyze all the metabolites jointly (and estimate genetic and environmental sources of covariance among them)? That is, are you trying to automate doing 75 monophenotype analyses, or do you want to run 1 analysis of 75 phenotypes?

Soldor880's picture
Offline
Joined: 10/14/2020 - 16:51
Automating 75 monophenotype analyses

Thank-you for your reply.

I am trying to automate doing 75 monophenotype analyses, but I'm struggling to devise correct code at the moment.

Any suggestions would be greatly appreciated.