View source: R/dosing_regimen_plot.R
dosing_regimen_plot | R Documentation |
dosing_regimen_plot
creates a graph of the dosing regimens used. This
requires you to have created an object with simulation information by running
codeextractExpDetails or codeextractExpDetails_mult; that
object will be a list, and the list item named "Dosing" will be used for
creating these graphs.
dosing_regimen_plot(
existing_exp_details,
sims_to_include = NA,
colorBy_column,
color_set = NA,
facet1_column,
facet2_column,
bar_width = NA
)
existing_exp_details |
output from |
sims_to_include |
optionally specify which simulation files you'd like to include in the annotated output. Acceptable input:
|
colorBy_column |
(optional) the column in
|
color_set |
the set of colors to use. Options:
|
facet1_column |
optionally break up the graph into small multiples in
the vertical direction. The designated column name should be unquoted,
e.g., |
facet2_column |
optionally break up the graph into small multiples in
the horizontal direction. The designated column name should be unquoted,
e.g., |
bar_width |
width of the bars in hours; we'll go for a smallish bar as the default, but please do try making it larger to visualize more easily if your time range allows for that. |
a ggplot2 graph
dosing_regimen_plot(existing_exp_details = MDZdetails)
dosing_regimen_plot(existing_exp_details = MDZdetails,
bar_width = 20)
dosing_regimen_plot(existing_exp_details = MDZdetails,
colorBy_column = CompoundID)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.