Skip to content

Weidner clocks #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions biolearn/data/Weidner.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CpGmarker,CoefficientTraining
cg02228185, -64.57
cg25809905, -42.57
cg17861230, 75.15
12 changes: 12 additions & 0 deletions biolearn/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,18 @@ def anti_trafo(x, adult_age=20):
"type": "LinearMethylationModel",
"file": "DepressionBarbu.csv",
},
},
"Weidner": {
"year": 2014,
"species": "Human",
"tissue": "Blood",
"source": "https://doi.org/10.1186/gb-2014-15-2-r24",
"output": "Age (Years)",
"model": {
"type": "LinearMethylationModel",
"file": "Weidner.csv",
"transform": lambda sum: sum + 111.83,
},
},
"TranscriptomicPredictionModel": {
"year": 2015,
Expand Down
11 changes: 11 additions & 0 deletions biolearn/test/data/expected_model_outputs/Weidner.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
id,Predicted
GSM1009660,113.9543409
GSM1009661,101.4319503
GSM1009662,42.64289973
GSM1009663,114.278756
GSM1009664,98.43019015
GSM1009665,39.58947133
GSM1009666,119.0713668
GSM1009667,97.00022002
GSM1009668,45.09482757
GSM1009669,116.0692581
2 changes: 1 addition & 1 deletion doc/changes/names.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
.. _Mehrnoosh Emamifar: https://www.linkedin.com/in/mehrnoosh-emamifar/
.. _Chancen Law: https://www.linkedin.com/in/chancenlaw/
.. _Nureldin Mohamed: https://www.linkedin.com/in/nureldin-m-19738625b/
.. _Yasamin Joda: https://www.linkedin.com/in/yasamin-jodat/
.. _Yasamin Jodat: https://www.linkedin.com/in/yasamin-jodat/
.. _Aneesh Mazumder: https://www.linkedin.com/in/aneesh-mazumder/

.. _AI4Life Institute: https://www.ai4lifeinstitute.com/