My experiment is based on a quantitative continuous variable levels (B12 vitamin) in a sample of patients retrospectively selected based on values that can take (under our criteria):

  • normal
  • low levels: under the physiological or normal reference values but not enough to be considered deficiency
  • deficiency (which is associated with poor nutrition, gastric disease, etc.). These data are excluded.

We are interested in low levels. Our hypothesis is to prove if mutations in 10 genes can be associated with these physiological low levels. These physiological low levels are quantified under the format of maximum and minimum value of B12. The genes can take 3 possible categories:

  • wt: absence of mutation
  • het: half of mutation
  • hom: full mutation


  1. I would like, if possible, to try something like a genetic risk score, if multiple het or hom states in multiple genes can be additive. I don't know how to approach this, because there can be multiple permutations, and maybe permutation 1 has a stronger association with low levels than permutation 2.
  2. Any ideas on how to carry this out? I don't really know if mutations are additive or opposite. Not sure if some clustering approach can be helpful here, like PCA or euclidean distance, linear discriminant analysis... Any advice is welcome.

My idea is to execute a summary of levels of B12 for each gene and see in a boxplot possible differences, perhaps look for some association (or correlation), but I doubt it.

Any idea or previous input or experiment like this would be tremendously welcome.

  • 1
    $\begingroup$ The solution is supervised machine learning (ML) and is fairly standard analytics for precisely this problem. PCA or euclidean distance, will not prove this especially distance methods. Discriminant analysis is okay. What you need are complex regression analytics and that broadly includes ML. So IMO the project needs an analyst. I hope thats helpful and again its just my opinion $\endgroup$
    – M__
    May 18, 2023 at 16:44
  • 1
    $\begingroup$ Could you recommend me something to begin? $\endgroup$ May 18, 2023 at 23:06
  • $\begingroup$ I personally would recommend collaboration, unless someone already published an algorithm specific for purpose. Its a bit like a specialist/expert in military logistics wanting to perform a "commando assault", i.e. it would be really hard, particularly if the key source of help was online. $\endgroup$
    – M__
    May 19, 2023 at 0:09

1 Answer 1


Yes, you can run an additive model (i.e., B*AA = 2*B*Aa, aa = B*AA - 4*Aa) or a dominance model (B*AA = B*Aa). You can test both of these and see which is a better fit to your data.

However, it is practically known already that the model will be at least predominantly additive.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.