DimPlotly3d: DimPlotly3D

Description Usage Arguments Value

Description

DimPlotly3D

Usage

1
2
3
4
5
6
7
DimPlotly3d(object, grouping_var = "ident", reduction = "umap",
  label = FALSE, label_size = 12, label_color = "000000",
  show_arrow = FALSE, return = FALSE, pt_size = 2,
  pt_shape = "circle", opacity = 1, dim_1 = 1, dim_2 = 2,
  dim_3 = 3, palette = "Set1", plot_height = 900, plot_width = 900,
  plot_title = NULL, pt_info = NULL, legend = TRUE,
  legend_font_size = 12, plot_grid = FALSE, plot_axes = FALSE)

Arguments

object

Seurat object

grouping_var

Variable by which to group cells. Currently only works with the current ident and column names from meta.data. Default: ident

reduction

Dimensional reduction to display. Default: umap

label

Add a label showing thr group name to the graph. Default: FALSE

label_size

Label font size. Default: 12

label_color

Color for label border and arrow. Need hex value.. Default = '000000'

show_arrow

Offset the position of the labels and instead point to each group with an arrow. Default: FALSE

return

Return the plot object instead of displaying it. Default: FALSE

pt_size

Size of the points in pixels. Default: 2

pt_shape

Shape to use for the points. Default: circle

opacity

Transparency level to use for the points on a 0-1 scale. Default: 1

dim_1

Dimension to display on the x-axis. Default: 1

dim_2

Dimension to display on the y-axis. Default: 2

dim_3

Dimension to display on the z-axis. Default: 3

palette

Color palette to use. Must be a palette available in the Paletteer package. . Default: 'Set1'

plot_height

Plot height in pixels. Default: 900

plot_width

Plot width in pixels. Default: 900

plot_title

Plot title. Default: reduction

pt_info

Meta.data columns to add to the hoverinfo popup.. Default: ident

legend

Display legend?. Default: TRUE

legend_font_size

Legend font size. Default: 12

plot_grid

Display the major unit tick marks?. Default: FALSE

plot_axes

Display the major x, y, and z axes?. Default: FALSE

Value

plotly object


milescsmith/SeuratPlotly documentation built on June 5, 2019, 1:16 a.m.