Overview

The PheCAP package implements surrogate-assisted feature extraction (SAFE) and common machine learning approaches to train and validate phenotyping models. PheCAP begins with data from the EMR, including structured data and information extracted from the narrative notes using natural language processing (NLP). The standardized steps integrate automated procedures, which reduce the level of manual input, and machine learning approaches for algorithm training.

Installation

Install stable version from CRAN:

Install development version from GitHub:

# install.packages("remotes")
remotes::install_github("celehs/PheCAP")

Getting Started

Follow the main steps, and try the R codes from the simulated data and real EHR data examples.

Citations