Across-Site Predictability of Metabolite Profiles

Data

Codes

  • R2 calculation: 
    • Goal: Calculate marginal R2 and conditional R2 for three sets of variables--demographics (D), metabolites (M), cohorts (C).
    • Results contains: Total R2, R2(D), R2(M), R2(C), R2(D|M,C), R2(M|D,C), R2(C|D,M) for all metabolites
    • Codes: rsq_subset.R
  • Three-cohort study
    • Goal: Construct predictive model using training set (from S-I_B, S-II and S-III) and test the model using test set from from S-I_B, S-II and S-III plus all samples from S-I_A.
    • Step 1. Obtain training and test set from S-I_B, S-II and S-III: 3cohort_split_train_test.R
(Note that we used the same set of samples from training set of two-cohort study plus the new samples from S-III as the training set for three-cohort study.): 

  • One-cohort study 
    • Goal: Construct predictive model using training set (from S-I_B) and test the model using test set from from S-I_B plus all samples from S-I_A, S-II and S-III.
(Note that we used the same set of samples from S-I_B in the training set of two-cohort study as the training set of one-cohort study.): 

 

 

  • Figures
    • Histograms of observed, predicted and residuals from two-cohort model: Download HERE.

 

Publications

 

Copyright © Purdue University, all rights reserved. Purdue University is an equal access/equal opportunity university.

If you have trouble accessing this page because of a disability, please contact us at zstats@purdue.edu.