DotPlot_my2: My enhanced DotPlot

DotPlot_my2R Documentation

My enhanced DotPlot

Description

v0.2 can cluster genes

Usage

DotPlot_my2(
  object,
  features,
  assay = NULL,
  cols = colorRampPalette(colors = c("lightyellow", "orangered", "red4"), bias = 0.5,
    interpolate = c("spline"))(100),
  col.min = -2.5,
  col.max = 2.5,
  dot.min = 0,
  dot.scale = 6,
  idents = NULL,
  group.by = NULL,
  split.by = NULL,
  cluster.idents = FALSE,
  scale = TRUE,
  scale.by = "radius",
  scale.min = NA,
  scale.max = NA,
  cluster.features = T,
  quick = T,
  circle_size = 6,
  base_size = list(x = 14, y = 14, top = 14, legend = 14),
  rel_widths = c(1, 8),
  color_list = NULL
)

Arguments

object

Seurat obj

features

gene symbol

assay

which assay

cols

colors for expression

col.min

min?

col.max

max?

dot.min

dot min size

dot.scale

dot scale method

idents

which ident to show

group.by

group by

split.by

split by

cluster.idents

whether cluster idents?

scale

scale?

scale.by

scale by?

scale.min

min?

scale.max

max?

cluster.features

whether cluster idents?

quick

return normal ggplot2 obj as Seurat

circle_size

circle size left of y axis

base_size

list of font size

rel_widths

relative widths, only effective when quick =F

color_list

color list for each cluster

Examples

DotPlot_my2(sce, features = c("CD3D", "CD79A"))

DawnEve/GEB documentation built on July 6, 2022, 7:05 p.m.