The weights are based on EHR data from the Vanderbilt University Medical Center Synthetic Derivative (SD) and ICD-phecode map version 1.2.

## Usage

preCalcWeights

## Format

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()