plotDimArray: Dimensionality Reduction Plot Array

Description Usage Arguments Value

View source: R/plot-dim.R

Description

For surveying several dimensions of a dimensionality reduction (as in plotDim). This will produce the same plot, but varying the pair of dimensions shown. It optionally saves directly to a file, since this can produce large plots.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plotDimArray(
  object,
  reduction.use = c("dm", "pca"),
  dims.to.plot,
  outer.title = NULL,
  file = NULL,
  file.width = 750,
  file.height = 600,
  ...
)

Arguments

object

An URD object

reduction.use

(Character) Dimensionality reduction to use

dims.to.plot

(Numeric vector) Dimensions to plot. Will be plotted as pairs, with odd indices on the x-axes and even indices on the y-axes.

outer.title

(Charater) A title to place outside the entire array of plots.

file

(Character) Path to plot to save (if NULL, plot is returned)

Value

If file=NULL, returns a grid.array, otherwise returns nothing.


farrellja/URD documentation built on June 17, 2020, 4:48 a.m.