R package for Cardiovascular Risk Dataset and Data generation script
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
data-raw
data
docs
inst/cpt
man
vignettes
.Rbuildignore
.gitignore
CODE_OF_CONDUCT.md
DESCRIPTION
LICENSE
NAMESPACE
README.md
cvdRiskData.Rproj
process_data.R

README.md

cvdRiskData

Synthetic Cardiovascular Risk Dataset and Data generation script available as an R package.

View the related course materials here: https://github.com/laderast/cvdNight1 and https://github.com/laderast/cvdNight2

Explore the dataset here: https://tladeras.shinyapps.io/cvdnight1/

More information about the generation of this dataset is available here: https://www.biorxiv.org/content/early/2017/12/12/232611

To install in R:

install.packages("devtools")
devtools::install_github("laderast/cvdRiskData")

To access the data in R:

library(cvdRiskData)
## full patient data
data(cvd_patient)
## subset with SNP covariates
data(cvd_genodata)

If you would like csv versions of this dataset, it is available in the data-raw/ folder of this repo.