# Calculate Phenotype Risk Scores

## Documentation for package ‘phers’ version 1.0.0

- DESCRIPTION file.

## Help Pages

demoSample | Sample table of demographic information
diseaseDxIcdMap | Mapping of diseases and diagnostic ICD codes
diseaseHpoMap | Mapping of Mendelian diseases and their clinical features
getDxStatus | Identify cases and controls for Mendelian diseases
getGeneticAssociations | Perform association tests between phenotype risk scores and genotypes
getPhecodeOccurrences | Map ICD code occurrences to phecode occurrences
getResidualScores | Calculate residual phenotype risk scores
getScores | Calculate phenotype risk scores
getWeights | Calculate phecode-specific weights for phenotype risk scores
hpoPhecodeMap | Mapping of HPO terms and phecodes
icdPhecodeMap | Mapping of ICD codes and phecodes
icdSample | Sample table of ICD occurrences
mapDiseaseToPhecode | Map diseases to phecodes via HPO terms
preCalcWeights | Pre-calculated weights for calculating phenotype risk scores