Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

styleEmbeddingPlot

Set plot.theme, legend, ticks for embedding plot. Used primarily in embeddingPlot().


Description

Set plot.theme, legend, ticks for embedding plot. Used primarily in embeddingPlot().

Usage

styleEmbeddingPlot(
  gg,
  plot.theme = NULL,
  title = NULL,
  legend.position = NULL,
  show.legend = TRUE,
  show.ticks = TRUE,
  show.labels = TRUE,
  relabel.axis = TRUE
)

Arguments

gg

ggplot2 object to plot

plot.theme

theme for the plot (default=NULL)

title

plot title (default=NULL)

legend.position

vector with (x, y) positions of the legend (default=NULL)

show.legend

show legend (default=TRUE)

show.ticks

show ticks and tick labels (default=TRUE)

show.labels

show labels (default=TRUE)

relabel.axis

boolean If TRUE, relabel axes with ggplot2::labs(x='Component 1', y='Component 2') (default=TRUE)

Value

ggplot2 object


sccore

Core Utilities for Single-Cell RNA-Seq

v0.1.3
GPL-3
Authors
Viktor Petukhov [aut], Ramus Rydbirk [aut], Peter Kharchenko [aut], Evan Biederstedt [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.