add_phewas_description: Adds description of PheWAS code to the table.

Description Usage Arguments

Description

Adds a description of the PheWAS code to the results table. Only differs from the original addPhewasDescription in the name of the PheWAS code column.

Usage

1
add_phewas_description(data, keep.unmatched.rows = F, for.plots = F)

Arguments

data

Data frame containing the attribute with PheWAS codes. Can additionally be a character vector of PheWAS codes. See details for requirements.

keep.unmatched.rows

Keep rows that have no matching PheWAS descriptions? This is passed into keep.y in merge.

for.plots

Renames the output to include "phenotype" and "description". Default is FALSE.


ekawaler/simplePheWAS documentation built on May 16, 2019, 2:24 a.m.