preCalcWeights | R Documentation |
The weights are based on EHR data from the Vanderbilt University Medical Center Synthetic Derivative (SD) and ICD-phecode map version 1.2 and are calculated using the "prevalence" method.
preCalcWeights
A data.table with the following columns:
phecode
: Character vector of phecodes
prev
: Numeric vector of prevalences, i.e., fraction of subjects in the SD
that have at least one occurrence of the given phecode
w
: Numeric vector of weights, calculated as -log10(prev)
getWeights()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.