matchPlotServer | R Documentation |
Histodot plots of two datasets side-by-side, with or without match information
matchPlotServer(id, s1data, s2data, results, ignorev = NULL)
id |
Character ID for specifying namespace, see |
s1data |
Reactive data from source #1; needs to have key column named "ID". |
s2data |
Reactive data from source #2; needs to have key column named "ID". |
results |
Optional, reactive return value of |
ignorev |
Optional, a character vector of variables such as IDs to exclude from selection for plotting. |
The module was implemented to compare two cohort datasets but can also allow comparison
of other types of datasets that are conceptually similiar.
For the original cohort matching use case, if there happens to be match return values
from matchResultServer
passed to results
,
the plots will add color-coding to visualize which individuals are matched.
The two datasets s1data
and s2data
can be dynamically passed in;
in fact, customDatasetServer
is designed to provide uploaded data as a sourcegit.
Other matchPlot functions:
matchPlotUI()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.