From 2d902183055207de62252f3f3ab8d9044dad21ea Mon Sep 17 00:00:00 2001 From: Matthijs Berends Date: Sat, 5 Nov 2022 12:06:40 +0100 Subject: [PATCH] documentation fix --- DESCRIPTION | 2 +- NEWS.md | 2 +- R/pca.R | 4 ++-- man/pca.Rd | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 908338aa..2c3731ec 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 1.8.2.9043 +Version: 1.8.2.9044 Date: 2022-11-05 Title: Antimicrobial Resistance Data Analysis Description: Functions to simplify and standardise antimicrobial resistance (AMR) diff --git a/NEWS.md b/NEWS.md index 2f314622..c3a4775a 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 1.8.2.9043 +# AMR 1.8.2.9044 This version will eventually become v2.0! We're happy to reach a new major milestone soon! diff --git a/R/pca.R b/R/pca.R index d1986993..90e35600 100755 --- a/R/pca.R +++ b/R/pca.R @@ -64,9 +64,9 @@ #' # old base R plotting method: #' biplot(pca_result) #' # new ggplot2 plotting method using this package: -#' ggplot_pca(pca_result) -#' #' if (require("ggplot2")) { +#' ggplot_pca(pca_result) +#' #' ggplot_pca(pca_result) + #' scale_colour_viridis_d() + #' labs(title = "Title here") diff --git a/man/pca.Rd b/man/pca.Rd index 28e07ba1..ed74f4aa 100644 --- a/man/pca.Rd +++ b/man/pca.Rd @@ -84,9 +84,9 @@ if (require("dplyr")) { # old base R plotting method: biplot(pca_result) # new ggplot2 plotting method using this package: - ggplot_pca(pca_result) - if (require("ggplot2")) { + ggplot_pca(pca_result) + ggplot_pca(pca_result) + scale_colour_viridis_d() + labs(title = "Title here")