plotScatterPlot: Scatter plot object.

Description Usage Arguments Value

View source: R/plotting.R

Description

Generates a biaxial scatter plot ggplot object from an Astrolabe sample or a data frame.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
plotScatterPlot(
  data,
  x,
  y,
  color = NULL,
  alpha = 0.5,
  size = 1,
  xlim = NULL,
  ylim = NULL,
  title = NULL,
  theme = NULL,
  force_data = FALSE
)

Arguments

data

Dataset to use for the plot. If sample, exprs will be used.

x, y

Column names for X-axis and Y-axis, respectively.

color

Column name for the color aesthetic.

alpha

geom_point alpha aesthetic.

size

geom_point size aesthetic.

xlim

x-axis limits.

ylim

y-axis limits.

title

Plot title.

theme

Modifications to the default ggplot theme.

force_data

If false, plots with more than 100 points won't have plot data included.

Value

An orloj plot list with the plot object and any other parameters that are required to export it.


astrolabediagnostics/orloj documentation built on May 20, 2021, 2:17 p.m.