https://github.com/adibender/liver
R-Code for livertransplant analysis
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.5%) to scientific vocabulary
Repository
R-Code for livertransplant analysis
Basic Info
- Host: GitHub
- Owner: adibender
- License: mit
- Language: R
- Default Branch: master
- Size: 11.7 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Liver transplantation analysis - Time to graft failure
This is the Code used for analysis of graft failure after liver transplantation. Unfortunately, the data could not be shared, therefore only the code is provided in this repository.
Preprocessing
import_raw.R: imports raw data, performs basic data cleaning, variable renaming and non-model based pre-selection, creates new variables. Does not perform general plausibility checks.Note that transplantation date was only given with monthly precission.
apply_exclusion.R: applies exclusion criteria, stores number of deleted observations per exclusion criterion.create_survvars.R: calculates the event/censoring time and status variable depending on which information is given.The above steps are summarized in
run_preproc.R
creation of the survival time and event/censoring indicator
The calculation of survival times and event/censoring indicators is based on the following variables:
retrans: When time until retransplantation is given we know the exact date of the procedure and know that the current liver did not completely fail until then, thus we consider this the most reliable information on the liver failure timedeath: Whenretransanddeathare given, we use theretransvariable as time to failure, otherwise we usedeath.lastseen: Whenlastseenis given and nothing else, we considerlastseenas censoring timefailandreregis: for patients where both,fail/reregisand eitherdeathorretranswere given we have seen that these variables are not reliable as the time difference between them can be very large, thus we exclude observations where onlyfailorreregisare givenWhen neither of the variables where given we set administrative censoring at
2013-12-31and calculated the censoring time as2013-12-31 - transplant.date.
Modeling
- The confounder model is fit in
confounder_model.Rusingmgcv::gam - The final model including donor age is fit in
donorage_model.R
Owner
- Name: Andreas Bender
- Login: adibender
- Kind: user
- Company: LMU
- Website: https://twitter.com/adiBender
- Repositories: 25
- Profile: https://github.com/adibender
GitHub Events
Total
Last Year
Committers
Last synced: 11 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Andreas Bender | b****R@g****m | 2 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0