make_upsetplot | R Documentation |
Given a phenotype and reference date , make an upset plot of cases (Hx) by the reference dates by source.
make_upsetplot(definition, lst.data, df.data.settings, df.reference.dates)
lst.data |
list of data table with all episode data |
definitions |
phenotype/trait specified in definition table (a row in the table) |
lst.data.settings |
data frame containing data settings |
reference_date |
reference dates for each individuals in the whole cohort as a named vector |
upset plot
make_upsetplot(definition=dfDefinitions_processed_expanded%>%filter(TRAIT==trait),lst.harmonized.data$lst.data,df.data.settings,df.reference.dates = df_reference_dt_v0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.