get_cohort_selection_numbers: Get cohort selection numbers for drug repurposing

Description Usage Arguments Details

View source: R/get_cohort_selection_numbers.R

Description

Get cohort selection numbers for drug repurposing

Usage

1
2
3
4
5
6
7
8
9
get_cohort_selection_numbers(
  drug,
  phenotype,
  biomarker,
  indication_drugs,
  r_covariates,
  r_drugs,
  r_biomarkers
)

Arguments

drug

A string, e.g., "simvastatin"

phenotype

A string, e.g., "hyperlipidemia"

biomarker

A string, e.g., "LDL cholesterol"

indication_drugs

A tibble with columns c('rxcui_in', 'drug_desc', 'indication')

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

Details

Last updated: 2021-10-15


pwatrick/pwUtilities documentation built on Oct. 18, 2021, 6:21 p.m.