comoRbidity
is an R package to analyze comorbidities from clinical data
This report is used for comoRbidity
package distribution while we walk thought publication process.
- Version: 1.1.1
- Authors: Alba Gutierrez-Sacristan (GRIB-UPF / HMS)
- Maintainer: Alba Gutierrez-Sacristan (GRIB-UPF / HMS)
comoRbidity
can be installed using devtools
from this repository:
library(devtools)
install_bitbucket("ibi_group/comoRbidity")
The following lines show one examples of how comoRbidity
R package can be used in comorbidity studies:
- Example Query
library(comoRbidity)
ex1 <- query( databasePth = system.file("extdata", package="comoRbidity"),
codesPth = system.file("extdata", "indexDiseaseCodes.txt", package="comoRbidity"),
birthDataSep = "-",
admissionDataSep = "-",
determinedCodes = FALSE,
python = FALSE)
)
- Heatmap Representation
library(comoRbidity)
load(system.file("extdata", "comorMale.RData", package="comoRbidity"))
htmp <- heatmapPlot( input = comorMale,
selectValue = "score",
cutOff = 0.5
)