View source: R/measure_treatment_effect.R
Measure treatment effect in clinical data Last updated: 2021-02-12
1 2 3 4 5 6 7 8 | measure_treatment_effect(
.data,
biomarker_tbl,
drug_name,
phenotype,
biomarker_name,
cohort_vector
)
|
.data |
A tibble with columns, c("person_id", "drug_exposed", "treatment_new_exposed") |
biomarker_tbl |
A tibble with columns, c("person_id", "biomarker_baseline_value", "biomarker_treatment_value", "biomarker_change", "biomarker_name") |
drug_name |
A string, e.g., "Lisinopril" |
phenotype |
A string, e.g., "Hyperlipidemia" |
biomarker_name |
A string, e.g., "LDL cholesterol" |
cohort_vector |
A vector, e.g,. c("Primary Analysis", "Subanalysis 1", "Subanalysis 2", "Subanalysis 3") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.