Description Usage Arguments Details
View source: R/drug_repurposing_t1.R
Calculate demographic table information for drug repurposing cohorts
1 2 3 4 5 6 7 8 9 10 11 | drug_repurposing_t1(
r_covariates,
r_drugs,
r_biomarkers,
drug,
phenotype,
biomarker,
source,
concept_id_exclusions = c(2212451),
exptid
)
|
r_covariates |
A tibble, with columns c('person_id','dob','gender_concept_id','race_concept_id','drug_concept_id','first_drug_exposure','last_drug_exposure') |
r_drugs |
A tibble, with columns c('person_id','start_date','end_date','drug_exposure_start_date','drug_concept_id') |
r_biomarkers |
A tibble, with columns c('person_id','start_date','measurement_date','end_date','measurement_concept_id','value_as_number') |
drug |
A string, e.g., "simvastatin" |
phenotype |
A string, e.g., "Hyperlipidemia" |
biomarker |
A string, e.g., "LDL Cholesterol" |
source |
A string, e.g., "Vanderbilt" |
concept_id_exclusions |
A vector, e.g., c(2212451) |
exptid |
A numeric, e.g., 20210123061054 |
Last updated: 2021-03-27
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.