Description Usage Arguments Value Examples
Save plots into the directory specified by the directory
argument.
1 2 3 4 5 6 7 8 9 10 | save_plots(cem, ...)
## S4 method for signature 'CEMiTool'
save_plots(
cem,
value = c("all", "profile", "gsea", "ora", "interaction", "beta_r2", "mean_k",
"sample_tree", "mean_var", "hist", "qq"),
force = FALSE,
directory = "./Plots"
)
|
cem |
Object of class |
... |
Optional parameters One of "all", "profile", "gsea", "ora", "interaction", "beta_r2", "mean_k", "sample_tree", "mean_var", "hist", "qq". |
value |
A character string containing the name of the plot to be saved. |
force |
If the directory exists, execution will not stop. |
directory |
Directory into which the files will be saved. |
A pdf file or files with the desired plot(s)
1 2 3 4 5 6 | # Get example CEMiTool object
data(cem)
# Plot beta x R squared graph
cem <- plot_beta_r2(cem)
# Save plot
## Not run: save_plots(cem, value="beta_r2", directory="./Plots")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.