Skip to content

Commit

Permalink
Merge pull request #1 from jiajic/main
Browse files Browse the repository at this point in the history
Catch up to main
  • Loading branch information
jiajic authored Nov 29, 2023
2 parents b85c257 + 8527091 commit 8edda43
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 13 deletions.
10 changes: 6 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -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 <rubendries@gmail.com>
Description: Expanded visualization and plotting functionality for Giotto Suite.
Expand Down
6 changes: 3 additions & 3 deletions R/color_palettes.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ knitr::opts_chunk$set(
```


# GiottoVisuals <img src="man/figures/GiottoLogo.png" align="right" alt="" width="160" />
# GiottoVisuals <img src="man/figures/logo.png" align="right" alt="" width="160" />

<!-- badges: start -->
![Version](https://img.shields.io/github/r-package/v/drieslab/GiottoVisuals)
Expand All @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

<!-- README.md is generated from README.Rmd. Please edit that file -->

# GiottoVisuals <img src="man/figures/GiottoLogo.png" align="right" alt="" width="160" />
# GiottoVisuals <img src="man/figures/logo.png" align="right" alt="" width="160" />

<!-- badges: start -->

Expand All @@ -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)
Expand Down
8 changes: 6 additions & 2 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -13,7 +17,7 @@ template:
code_font: {google: "JetBrains Mono"}

navbar:
bg: dark
bg: light
structure:
left:
- intro
Expand Down
Binary file removed man/figures/GiottoLogo.png
Binary file not shown.
Binary file added man/figures/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon-120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon-152x152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon-180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon-60x60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon-76x76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/favicon.ico
Binary file not shown.

0 comments on commit 8edda43

Please sign in to comment.