Skip to content

Commit

Permalink
fix: add module options to zzz.R
Browse files Browse the repository at this point in the history
  • Loading branch information
jiajic committed May 22, 2024
1 parent e20154c commit 9709637
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: Giotto
Title: Spatial Single-Cell Transcriptomics Toolbox
Version: 4.0.7
Version: 4.0.8
Authors@R: c(
person("Ruben", "Dries", email = "rubendries@gmail.com",
role = c("aut", "cre"), comment = c(ORCID = "0000-0001-7650-7754")),
Expand Down Expand Up @@ -41,8 +41,8 @@ Imports:
dbscan (>= 1.1-3),
ggplot2 (>= 3.1.1),
ggrepel,
GiottoUtils (>= 0.1.7),
GiottoVisuals (>= 0.2.1),
GiottoUtils (>= 0.1.8),
GiottoVisuals (>= 0.2.2),
igraph (>= 1.2.4.1),
jsonlite,
limma,
Expand Down
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# Giotto 4.0.7 (2024/05/21)
# Giotto 4.0.8 (2024/05/22)

## Breaking changes
* `crossSectionGenePlot()` removed. Use `crossSectionFeatPlot()` instead
Expand All @@ -12,7 +12,7 @@
* updated `createCrossSections()`, `insertCrossSectionSpatPlot3D()`, `crossSectionPlot()`, `crossSectionFeatPlot3D()`, `insertCrossSectionFeatPlot3D()`, `crossSectionPlot3D()`, `crossSectionFeatPlot()`

## Changes
* GiottoVisuals (>= 0.2.1) and GiottoClass (>= 0.3.1) are now required.
* GiottoVisuals (>= 0.2.2), GiottoClass (>= 0.3.1), GiottoUtils (>= 0.1.8) are now required.

# Giotto 4.0.6 (2024/05/13)

Expand Down
24 changes: 24 additions & 0 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,28 @@
data.table::setDTthreads(threads = cores)
options("giotto.check_core" = FALSE)
}

# options #

# GiottoVisuals #
# ------------- #
# colors continuous
init_option("giotto.color_cd_pal", c("blue", "white", "red"))
init_option("giotto.color_cs_pal", "viridis")
init_option("giotto.color_c_rev", FALSE)

# colors discrete
init_option("giotto.color_d_pal", "distinct")
init_option("giotto.color_d_rev", FALSE)
init_option("giotto.color_d_strategy", "interpolate")

# image resampling
init_option("giotto.plot_img_max_sample", 5e5)
init_option("giotto.plot_img_max_crop", 1e8)
init_option("giotto.plot_img_max_resample_scale", 100)

# GiottoUtils #
# ----------- #
init_option("giotto.verbose", TRUE)

}

0 comments on commit 9709637

Please sign in to comment.