gg_DimPlot: Reimplementation of DimPlot in Seurat for better graphic...

Description Usage Arguments Author(s)

Description

Reimplementation of DimPlot in Seurat for better graphic controls

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
gg_DimPlot(
  x,
  feature,
  DR = "pca",
  dims = c(1, 2),
  size_highlight = NULL,
  highlight_ratio = 1.5,
  label_col = NULL,
  further_repel = T,
  repel_force = 1,
  reverse_x = F,
  reverse_y = F,
  assay = "RNA",
  slot_data = "data",
  AP = NULL,
  seg_color = NA,
  plot_type = "dim_red",
  ...
)

Arguments

x

a Seurat object

size_highlight

a character, logical or numeric vector specifying which cells to magnify in size

highlight_ratio

how much larger the highlighted cells should be

label_col

which column contains the label information

further_repel

if TRUE, the labels would be repelled away from the data points as much as possible

reverse_x

reverse x axis direction. This is because sometimes most of the contents are on the left, which would obstruct the arrow axis.

reverse_y

similarly reverse y axis direction.

AP

a list for custom_color and theme_TB

Author(s)

Yutong Chen


Yutong441/TBdev documentation built on Dec. 18, 2021, 8:22 p.m.