scandal_reduced_dims_plot: Create a reduced dimensions plot

Description Usage Arguments Value Author(s) See Also

View source: R/plotting.R

Description

This function plots the reduced dimensions coordinates using a scatter plot.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
scandal_reduced_dims_plot(
  object,
  rdims,
  labels = NULL,
  legend_name = NULL,
  title = DEFAULT_TITLE(object, "Reduced dimensions plot"),
  title_text_size = 20,
  xlab = "dim1",
  ylab = "dim2"
)

Arguments

object

a ScandalDataSet object.

rdims

the name of the reduced dimensions object that will be retrieved from object (using reducedDim method).

labels

an optional vector of character labels for each (x, y) point. Used for color coding each point. Default is NULL.

legend_name

the name of the leged. Default is NULL (no label).

title

an optional string for the title of the plot. Default is NULL (no title).

title_text_size

text size of the title. Default is 20.

Value

A ggplot2 object representing the reduced dimensions plot.

Author(s)

Avishay Spitzer

See Also

umap


dravishays/scandal documentation built on Jan. 8, 2020, 1:30 p.m.