diff --git a/DESCRIPTION b/DESCRIPTION index aaad3af..88e3c7d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -8,10 +8,12 @@ Authors@R: c( role = c("aut")), person("Guo-Cheng", "Yuan", email = "guo-cheng.yuan@mssm.edu", role = c("aut")), - person("Matthew", "O'Brien", email = "mobrien2@bu.edu", - role = c("aut")), - person("Joselyn", "Chávez", email = "joselynchavezf@gmail.com", - role = c("aut"), comment = c(ORCID = "0000-0002-4974-4591")) + person("Matthew", "O'Brien", email = "mobrien2@bu.edu", + role = c("aut")), + person("Joselyn C.", "Chávez-Fuentes", email = "joselynchavezf@gmail.com", + role = c("aut"), comment = c(ORCID = "0000-0002-4974-4591")), + person("Edward", "Ruiz", email = "ecruiz@bu.edu", + role = c("aut")) ) Maintainer: Ruben Dries Description: Expanded visualization and plotting functionality for Giotto Suite. diff --git a/R/color_palettes.R b/R/color_palettes.R index 020361c..5a8e513 100644 --- a/R/color_palettes.R +++ b/R/color_palettes.R @@ -136,11 +136,11 @@ getDistinctColors <- function(n) { admitted_grey_colors = grey_colors[seq(1, 110, 10)] broad_colors = c(all_colors_no_grey, admitted_grey_colors) - # if too many colors warn about recycling + set.seed(1234) + on.exit(set.seed(Sys.time())) + # if too many colors requested, warn about recycling if(n > length(broad_colors)) { warning('\n not enough unique colors in R, maximum = 444 \n') - set.seed(1234) - on.exit(set.seed(Sys.time())) col_vector = sample(x = broad_colors, size = n, replace = TRUE) } else { col_vector = sample(x = broad_colors, size = n, replace = FALSE) diff --git a/README.Rmd b/README.Rmd index 8b7948d..a984ba9 100644 --- a/README.Rmd +++ b/README.Rmd @@ -13,7 +13,7 @@ knitr::opts_chunk$set( ``` -# GiottoVisuals +# GiottoVisuals ![Version](https://img.shields.io/github/r-package/v/drieslab/GiottoVisuals) @@ -28,7 +28,7 @@ GiottoVisuals contains the main plotting functions of Giotto Suite ## Installation -You can install the development version of GiottoVisuals like so: +You can install GiottoVisuals like: ``` r library(remotes) diff --git a/README.md b/README.md index 8b4b30b..f11f463 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# GiottoVisuals +# GiottoVisuals @@ -20,7 +20,7 @@ GiottoVisuals contains the main plotting functions of Giotto Suite ## Installation -You can install the development version of GiottoVisuals like so: +You can install GiottoVisuals like: ``` r library(remotes) diff --git a/_pkgdown.yml b/_pkgdown.yml index 1da8e0f..e07fac2 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -1,7 +1,11 @@ url: https://drieslab.github.io/GiottoVisuals/ authors: - Joselyn Chávez: + Ruben Dries: + href: https://www.drieslab.com + Guo-Cheng Yuan: + href: https://labs.icahn.mssm.edu/yuanlab/ + Joselyn C. Chávez-Fuentes: href: https://josschavezf.github.io template: @@ -13,7 +17,7 @@ template: code_font: {google: "JetBrains Mono"} navbar: - bg: dark + bg: light structure: left: - intro diff --git a/man/figures/GiottoLogo.png b/man/figures/GiottoLogo.png deleted file mode 100644 index 1c54f9c..0000000 Binary files a/man/figures/GiottoLogo.png and /dev/null differ diff --git a/man/figures/logo.png b/man/figures/logo.png new file mode 100644 index 0000000..1700120 Binary files /dev/null and b/man/figures/logo.png differ diff --git a/pkgdown/favicon/apple-touch-icon-120x120.png b/pkgdown/favicon/apple-touch-icon-120x120.png new file mode 100644 index 0000000..af3ff8b Binary files /dev/null and b/pkgdown/favicon/apple-touch-icon-120x120.png differ diff --git a/pkgdown/favicon/apple-touch-icon-152x152.png b/pkgdown/favicon/apple-touch-icon-152x152.png new file mode 100644 index 0000000..06de272 Binary files /dev/null and b/pkgdown/favicon/apple-touch-icon-152x152.png differ diff --git a/pkgdown/favicon/apple-touch-icon-180x180.png b/pkgdown/favicon/apple-touch-icon-180x180.png new file mode 100644 index 0000000..7e4dddb Binary files /dev/null and b/pkgdown/favicon/apple-touch-icon-180x180.png differ diff --git a/pkgdown/favicon/apple-touch-icon-60x60.png b/pkgdown/favicon/apple-touch-icon-60x60.png new file mode 100644 index 0000000..07342f9 Binary files /dev/null and b/pkgdown/favicon/apple-touch-icon-60x60.png differ diff --git a/pkgdown/favicon/apple-touch-icon-76x76.png b/pkgdown/favicon/apple-touch-icon-76x76.png new file mode 100644 index 0000000..c47ddcd Binary files /dev/null and b/pkgdown/favicon/apple-touch-icon-76x76.png differ diff --git a/pkgdown/favicon/apple-touch-icon.png b/pkgdown/favicon/apple-touch-icon.png new file mode 100644 index 0000000..84be915 Binary files /dev/null and b/pkgdown/favicon/apple-touch-icon.png differ diff --git a/pkgdown/favicon/favicon-16x16.png b/pkgdown/favicon/favicon-16x16.png new file mode 100644 index 0000000..44c3749 Binary files /dev/null and b/pkgdown/favicon/favicon-16x16.png differ diff --git a/pkgdown/favicon/favicon-32x32.png b/pkgdown/favicon/favicon-32x32.png new file mode 100644 index 0000000..7aa8eae Binary files /dev/null and b/pkgdown/favicon/favicon-32x32.png differ diff --git a/pkgdown/favicon/favicon.ico b/pkgdown/favicon/favicon.ico new file mode 100644 index 0000000..f7cd0d2 Binary files /dev/null and b/pkgdown/favicon/favicon.ico differ