# For this example, I have modified the example.results that come with actel,
# so they resemble a residency output
# \dontshow{
example.residency.results <- c(example.results, additional.residency.results)
example.residency.results$rsp.info$analysis.type <- "residency"
# }
plotRatios(example.residency.results)
# Because plotRatios returns a ggplot object, you can store
# it and edit it manually, e.g.:
library(ggplot2)
p <- plotRatios(example.residency.results, groups = "A")
p <- p + xlab("changed the x axis label a posteriori")
p
# You can also save the plot using ggsave!
Run the code above in your browser using DataLab