get_diseases: Get Diseases and ICD-9 Numbers Supported

Description Usage Arguments Value Examples

View source: R/get_diseases.R

Description

Gets Diseases and ICD-9 numbers from the disgenet API to produce a supported lsit of dieases for the Gadget genetic_disease_explore(). This takes a few minutes to run and is only provided to demonstrate how data used in this package is generated.

Usage

1
get_diseases(write = T, to_r = F, ob_name = "diseases")

Arguments

write

Bool, if T it writes a csv to your current wd.

to_r

Bool, if T it writes a data.frame to R with the name specified by ob_name

ob_name

A String, specifying an object name to save results as if ob_name = T

Value

A data.frame of diseases and associated ICD-9 numbers

Examples

1
2
3
4
## Not run: 
get_diseases()

## End(Not run)

lharris421/gdexpl documentation built on Dec. 23, 2019, 6:38 p.m.