View source: R/generateIndividualPlots.R
generateIndividualPlots | R Documentation |
Generate separate plots for all evaluation criteria using the collection of
ggplot objects that can be saved when generating a countsimQC report (by
setting savePlots = TRUE
).
generateIndividualPlots(
ggplotsRds,
device = "png",
outputDir = "./",
nDatasets = 2
)
ggplotsRds |
The path to a .rds file generated by
|
device |
One of "eps", "ps", "tex" (pictex), "pdf", "jpeg", "tiff",
"png", "bmp", "svg" or "wmf" (windows only) (will be provided to the
|
outputDir |
The output directory where the plots should be generated. |
nDatasets |
The number of data sets that are compared in the figures. This is needed to set the size of the plots correctly. |
Nothing is returned, but plots are generated in the designated output directory.
Charlotte Soneson
## Load example data
data(countsimExample)
## Not run:
## Generate report
countsimQCReport(countsimExample, outputDir = "./",
outputFile = "example.html", savePlots = TRUE)
## Generate individual plots
generateIndividualPlots("example_ggplots.rds", nDatasets = 3)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.