T-Rx is an open-source R package to simplify the extraction and imputation processes of prescription details, and to host a library of phenotyping algorithms for easy scalability and reproducibility of the analyses of electronic health records (EHR).
The package is divided into three core modules, where users can submit different inputs depending on data availability and cleanliness:
Figure 1: Overview of the T-Rx functions
Check out our preprint of the pipeline here.
Please post questions as an issue on the T-Rx GitHub repo here.
The T-Rx package is currently under beta testing. Most functions should have adequate documentation on possible errors.
Please kindly reach out to Chris Lo (chris.lowh@kcl.ac.uk) for feedback on documentation.