Skip to contents

Is dark mode preferred?

Usage

isDark()

Value

logical(1).

Details

Checks for acid.dark option in current session.

Useful for changing the appearance of ggplot2 output, especially for single cell RNA-seq clustering plots.

Note

Updated 2022-03-08.

Examples

## TRUE ====
options("acid.dark" = TRUE)
isDark()
#> [1] TRUE

## FALSE ====
options("acid.dark" = NULL)
isDark()
#> [1] FALSE