plot3: 3D plotting function

Description Usage Arguments Details Value Author(s)

Description

3D plotting function

Usage

1
2
3
4
5
6
plot3(object, colorBy = "", plotCols = NULL, legendSize = 1,
  legendOffset = 0.2, legPlac = 1:3, legPos = "front", negLeg = FALSE,
  plotLegend = TRUE, legVert = 1, legTextPos = 1, axLabs = "Component",
  doPath = FALSE, doTree = FALSE, selectedPath = NULL, useDims = 1:3,
  selectedCells = c(NA, NULL), legendTitle = "", diamWidth = 2,
  diamCol = "black", ...)

Arguments

object

A Reduced Dimension object

colorBy

Character or numeric vector. Character vectors will be converted to a factor and cells coloured accordingly. Cell color can be supplied in the plotCols parameter. If not supplied the ggplots2 coloring scheme will be adopted.

plotCols

Colors to use for the plot

legendSize

Controls the size of the legend

legendOffset

Distance from the edge of the axis to place the legend as a proportion of the length of the axis.

legPlac

Controls the axis along which the legend is placed.

legPos

Controls the depth at which the legend is placed. Default is "front".

negLeg

Moves the legend to the other extreme of the axis

plotLegend

Logical value. Default is "True"

legVert

Controls the vertical orientation of the legend

legTextPos

Controls the position of the legend text

axLabs

Prefix with which to label the axes.

doPath

Logical value controlling whether the diameter path is plotted

doTree

Logical calue controlling whether the minimum spanning tree is plotted

selectedPath

The path to plot. Default is NULL and will plot the diameter path.

useDims

The dimensions of the the dimensionality reduced objects to use

selectedCells

The selected cells to plot

legendTitle

Legend title.

diamWidth

Width of diameter path line

diamCol

Color of diameter path line

...

Parameters to be passed to plot3d function.

Details

3D plotting function

Value

3D plot

Author(s)

Wajid Jawaid


wjawaid/bglab documentation built on May 4, 2019, 6:33 a.m.