save_plots {CEMiTool} | R Documentation |
Save plots into the directory specified by the directory
argument.
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)
# 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")