PheVis: Automatic Phenotyping of Electronic Health Record at Visit Resolution

Using Electronic Health Record (EHR) is difficult because most of the time the true characteristic of the patient is not available. Instead we can retrieve the International Classification of Disease code related to the disease of interest or we can count the occurrence of the Unified Medical Language System. None of them is the true phenotype which needs chart review to identify. However chart review is time consuming and costly. 'PheVis' is an algorithm which is phenotyping (i.e identify a characteristic) at the visit level in an unsupervised fashion. It can be used for chronic or acute diseases. An example of how to use 'PheVis' is available in the vignette. Basically there are two functions that are to be used: 'train_phevis()' which trains the algorithm and 'test_phevis()' which get the predicted probabilities. The detailed method is described in preprint by Ferté et al. (2020) <doi:10.1101/2020.06.15.20131458>.

Version: 1.0.4
Depends: R (≥ 3.5.0)
Imports: dplyr, ggplot2, glmnet, knitr, lme4, purrr, randomForest, Rcpp (≥ 1.0.3), stats, tidyr, viridis, zoo
LinkingTo: Rcpp
Suggests: PRROC, rmarkdown, testthat
Published: 2023-10-20
DOI: 10.32614/CRAN.package.PheVis
Author: Thomas Ferte [aut, cre], Boris P. Hejblum [aut]
Maintainer: Thomas Ferte <thomas.ferte at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: PheVis results


Reference manual: PheVis.pdf
Vignettes: TutoPheVis


Package source: PheVis_1.0.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): PheVis_1.0.4.tgz, r-oldrel (arm64): PheVis_1.0.4.tgz, r-release (x86_64): PheVis_1.0.4.tgz, r-oldrel (x86_64): PheVis_1.0.4.tgz
Old sources: PheVis archive


Please use the canonical form to link to this page.