R and Python code for Science Translational Medicine Manuscript abl5849
Description
R Code
Rand_Alloc_Peak_Templates.r, script for performing random allocation of subjects to Discovery or Replication sets.
Regression_Models_Main.r, script for fitting Elastic net, LASSO and Ridge models on main GcGc matrix. Script also performs batch effect adjustment.
Regression_Models_Air_Supply_Room_Air.r, script for fitting Elastic net, LASSO and Ridge models on GcGc matrix for air supply and room air.
Graphs_by_Group.r, script for generating graphs for each disease group based on correlation matrix for 101 features. Script is also used to perform Louvain clustering on the graphs.
GSVA_models.r, script for generating graph for all disease groups (healthy excluded) ,discovery and replication combined. Graph based on correlation matrix for 101 features. Script is also used to perform Louvain clustering on the graph and feature enrichment.
Calculate_Scores.r, script for calculating example biomarker scores.
PYTHON Code
EMBER_TDA_Main.py, script for performing TDA using Kepler Mapper on GcGc matrix.
Files
Files
(135.0 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:205e5c9b1640cfe6f1638403d7efcada
|
31.1 kB | Download |
|
md5:8a7d68388d23ce08dfdc064a109c7139
|
28.2 kB | Download |
|
md5:89820395c6a87e266688a99ceab87db7
|
10.1 kB | Download |
|
md5:c9f50b390f846a3aed3d3a9b1441d1dd
|
1.1 kB | Download |
|
md5:1402b575d34c829f5b2f352a735d61e8
|
12.4 kB | Download |
|
md5:cf235c963a3ccbf7ce5a5a6b83c90c57
|
52.0 kB | Download |