Remove RSI from package, add extra MIC scale functions

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2023-12-03 11:34:48 +01:00
1 parent 6f417d0ef2
commit c7461766ce
21 files changed
+260 -580

No files matched your search

+6 -4
View File
@@ -130,16 +130,18 @@ if (require("dplyr")) {
summary(pca_result)
# old base R plotting method:
biplot(pca_result)
biplot(pca_result, main = "Base R biplot")
# new ggplot2 plotting method using this package:
if (require("ggplot2")) {
ggplot_pca(pca_result)
ggplot_pca(pca_result) +
labs(title = "ggplot2 biplot")
}
if (require("ggplot2")) {
# still extendible with any ggplot2 function
ggplot_pca(pca_result) +
scale_colour_viridis_d() +
labs(title = "Title here")
labs(title = "ggplot2 biplot")
}
}
}