new_theme.Rd
Create a new scplot theme
new_theme()
extract_theme(object)
An scplot object (class scplot
) returned from the scplot()
function.
An scplot-theme object
An object of class scplot-theme
which can be used with the
set_theme()
function.
data(exampleABC, package = "scan")
my_theme <- new_theme() |>
set_panel(color = "red") |>
set_base_text(size = 12, color = "blue") |>
set_dataline(color = "darkred", linewidth = 2)
p1 <- scplot(exampleABC) |> set_theme(my_theme)