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.
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:
library(comoRbidity)
ex1 <- query( databasePth = system.file("extdata", package="comoRbidity"),
codesPth = system.file("extdata", "indexDiseaseCodes.txt", package="comoRbidity"),
birthDataSep = "-",
admissionDataSep = "-",
determinedCodes = FALSE,
python = FALSE)
)
library(comoRbidity)
load(system.file("extdata", "comorMale.RData", package="comoRbidity"))
htmp <- heatmapPlot( input = comorMale,
selectValue = "score",
cutOff = 0.5
)
```
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.